I'm using a modal PopupEditForm to edit rows in my ASPxGridView.
There is an image and upload control inside this form. The old image is being loaded to this ASPxImage for preview and user can upload a new image. But when user does it, even though I change the url of image to new uploaded image url, new image doesn't appear. But if I update the row, it updates the url and shows the new image next time I click to update row.
So there's a problem like PopupEditForm is not being called again. How can I solve this?
First of all, you should learn very good PopupEditForm.
Read and learn this example Grid Editing - Popup Edit Form .
Then If you can't solve your problem, and you have Devexpress licence, you should ask it in Devexpress Support
http://www.devexpress.com/Support/Center/SearchResults.aspx#cD1UNHxQNXwwc2VhcmNodGV4dD1Qb3B1cCBFZGl0IEZvcm0=
Take a look at this code central sample which you can also download and run locally:
http://www.devexpress.com/Support/Center/e/E19.aspx
Btw, Soner points to some good info too.
Thanks.
Related
I want to display images in my website developed in asp.net(web form) dynamically. Like I have created a a page in admin section where I am uploading the image and the uploded image save in the folder and its path save in the database. Now uploading and edit on image is done by me. I want to display in my page in which I want to 4 images in a row. So what will be the control i need to use. or is there any other idea i can go for creating this task.
I am thanking you so for you ideas
You can use DataList or DataRepeater or any data control to Display Image. Its depend on requirement.
If you want show images on client side then use DataRepeater.
For display images in Datalist :
http://www.dotnetfox.com/articles/how-to-display-images-in-datalist-control-using-Asp-Net-with-C-Sharp-1037.aspx
Display images in Repeater :
http://ravisatyadarshi.wordpress.com/2012/11/17/how-to-display-an-image-gallery-using-repeater-in-asp-net/
You can use image control..
like,
e.g.-
Image1.ImageUrl = "~/uploads/"+imgstr+"";
here imgstr i variable in which you are getting image path from db
So I'm working through the code in this tutorial which has a small button labeled 'Touch Me'. When you tap this it brings up a new view which also has a close button. I've added a screenshot below and you can download the source code here.
The problem I'm having is that I can't seem to port over this .xib code to work in Xcode 4.2 storyboards. I am trying to keep that same 'Touch' button and 'AnotherView' displaying on a brand new 'Master-Detail Application' running iOS 5.
I am struggling to even keep the button displaying on every view. As in, you can tap the button 'Touch Me' to bring up this alternate view at any page - in the table view or the detail view. I hope this makes some sense? Note that I'm NOT talking about the table row, just the top right button in the UINavigationBar.
Please let me know if I can provide any more details! Just trying to build a similar functionality as the 'Touch Me' button in a fresh new iOS 5/Xcode 4.2 Storyboard app WITHOUT any .xib files. thanks in advance
As your know storyboard doesn't use XIBs so you won't be able to follow the tutorial line for line.
I recommended first creating a new storyboard project and select the "Master-Detail Application" template when creating the project. This will create a project with a Navigation controller. You can then follow the tutorial on customizing the navigation bar. When following the first part of the tutorial, you will need to select the initial view,"Navigation Controller", in storyboard and change its class to "KTNavigationBar" after you create that class.
Im using Visual Studio 2008, on an ASP.NET C# website. Overall what I want to accomplish is that when an item from a list of items is clicked, a video will display on the same page. I want this done all in one aspx page, I dont want to create a new page for each video file. The video files are hosted for me on www.screencast.com.
What I have done is created data-bounded radio list, and a datagrid which is binded to whatever is selected from my radio list. So when an item from that radio list is clicked, the video will diplay on the page, along with a description of the video and other important info.
What i have dome so far does not display my videos. Thats why I am here. I need to know how I can replace one of the fields from my data grid with an embedded web object.
What path do you guys recommend I take to acomplish my goal?
EDIT
With JoeRage's suggestion to use Shadowbox.js, Im going to have on my datagrid a simple link that when clicked, a video will display. My problem is how do I make my hyperlinks get formatted with the following info:
<a rel="shadowbox;width=800;height=600" title="Basic Pricebook Training" href="VideoContent/pricebookMgtBasic.swf"><img src="VideoContent/PricebookMgtBasic.gif" alt="" class="border"></a>
I know that on a datagrid, i can add a hypertextFeild. Problem is that even if I use the DataTextDormatString?
Check ShawdowBox.js.
Edit: You can use a TemplateColumn to build the desire output.
in details view once i click edit mode. all the controls are getting into edit mode. i make the changes and give update data is updated in database . but still all the controls are in edit mode only "actaully once we give click then update then i should again gone to read only mode means all the values should again be showing in label field"
i am doing this in .cs file only
no sqldatadource is used or object datasource
right now this feature is not happening to me. what is the issue here?
looking forward for an solution
thank you
Since you aren't using any built-in code to do the update, you probably need to change the display mode manually during your update.
myDetailsView.ChangeMode( DetailsViewMode.ReadOnly );
This is my first question here.
I hope I can contribute with answers too..
My need is to build an Extjs TriggerField implementation which open on trigger click a Panel with a custom loaded page inside...
example: When I click the trigger button I what to open a panel specifying an url as /Views/Test/Blabla.aspx and then storing the selection in the trigger field value.
I hope someone could help me
Thanks in advance
There is an example which pops up a Panel in your examples directory under examples/form/forum-search.html
It's based on a ComboBox (But it configures it to hide the trigger button)
BTW, probably a better idea to ask for help at http://extjs.com/forum/