I have a list of addresses on my page, each has a edit button. When click edit, I want to use the same ModalPopupExtender. Is this possible?
Thanks. I am using asp .net 4.0.
Are you fetching the list from database? If yes, use a data control like gridview & use a template field for edit button. Add Edit Gridview using modal popup
Related
There is HtmlEditorExtender Control in Ajax Control Toolkit and there is some problem with it :)
What if I want to add my own button in Toolbar? How it can be done?
For example, I want to add the button which will insert a code snippet (and hightlight it) or add the button which will call a dialog window in browser then make async image upload and then insert this image?
you don't have much option I guess in HtmlEditorExtender.
Alternatively, try using these:
FreetextBox
obout ASP.NET HTML Editor
I am using DevExpress's GridView. I have edit button working fine. I need to add a new custom linkbutton, which when clicked should show DevExpress's modal popupwindow to gather few input values and execute a method in codebehind. Please let me know how to do it. Not sure why it is so hard to achieve such a simple requirement.I couldn't find any sample code even for adding a custom link button!
I suggest that you get started with the E1120 example.
Your question is a little confusing as you mention GridView which is a Winforms grid but also mention CodeBehind which suggests Asp.Net
To Add repository items to the Winforms grid
If you are referring to the AspxGridView then you can use the standard Asp.Net Templating feature and add any control to a column.
i am developing one asp.net application,i am using one gridview and bind the data and one delete button also displayed, so click the delete button first display the confirm message box.(Do u want Delete?) ,confirm box display the ok and cancel buttons but my problem is i want to display the Yes and No buttons and display the error image . How to write the code in RowDeleting Event or Any javaScript, pls tel me it is very urgent
Thank u
hemanth
You can use the the Ajax Control Toolkit's confirm button extender have a look here Confirm Button Extender also math berseths post also will you help you with the code. Look here Including Yes/No in gridview
I need to realize a WebSite with a grid that shows all items of my Collection in edit mode like this:
On Apply the edited Collection should be saved.
On changing selection in the Supplier combobox shoud show the appropriated logo below.
(Is it possible to realise it using a binding instead of unbound code-behind implementation?)
How to implement it with RadGrid? Is any simplier as RadGrid solution in ASP.Net 4.0 with WebForms?
Regarding the logo from down, try a customised radcombobox showing tex with Icons
I myself am looking for a way to configure and not code the update on 'Apply'
I am using the MultiView server control in one web page using Update Panel. In its second view, I have a GridView; whose first column is checkboc controls including the header.
I want to toggle the data items checkbox based on the header checkbox.
For this, I wrote a Jquery function. But the main issue is, When I try to view the page source, I was not able to find out the HTML for the second view.
How could I toggle the checkbox using Jquery or Javascript?
The reason you can't see the HTML source is that the MultiView is a ASP.NET server control and it only renders the currently selected view to the browser.
Use FireBug. After you toggle the view and the HTML is updated, you'll see the current source so you can debug the jQuery.