|
In asp button click event, We have to validate the data entered in UI and has to ask the confirmation before save the changes.
How can i do that in asp.net web application?
Started by subramani on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
ImageButton ID="ImageButton1" runat="server" Text="Delete" ImageUrl="button.gif" AlternateText="Delete" OnClientClick='return confirm("Are you sure you want to delete this item?");'/>
As Jason mentions, I think trying to get validation....
|
|
I have a delete button in a gridview. For those not familiar with asp.net my delete button outputs like so:
<a id="ctl00_cp1_dtgrAllRates_ctl02_lbDelete" class="lb" href="javascript:__doPostBack('ctl00$cp1$dtgrAllRates$ctl02$lbDelete','')"> Delete...
Started by lloydphillips on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You click in order to use its href in the construction of the dialog; and then fire the dialog's){ var theHREF = $(this).attr("href"); $("#dialog").dialog({ bgiframe: true, autoOpen: false, width: 400, height: 200, modal: ....
|
|
1. Navigate to a folder containing some protected files (e.g. something in Program Files)
2. Open a Synchronize dirs dialog and press "Compare"
3. Select any protected file and from its context menu select "Delete left" or "Delete right" (whatever makes...
Started by umbra on
, 7 posts
by 2 people.
Answer Snippets (Read the full thread at ghisler):
Oh, problem seems to be the....
This will bypass recycle bin.
This will bypass recycle bin.
dialog.
|
Ask your Facebook Friends
|
Give the dialog the ability to:
1- save and a load custom toolbar configurations
2- delete and rename specific toobars
It was done for shortcut keys, please so something similar for custome toolbars.
Started by jclements on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at talkgraphics):
My understanding is finding a way to add new controlbar features if an older controlbar set is being... .
And I totally agree with you on recommendation 1.
John - I cannot tell you have many times I have created and recreated my custom toolbar over the years .
|
|
We use jQuery modal dialog box to get confirmation from users before they delete an item. The modal dialog works fine as long as there are no YouTube videos on the screen.
If there is a YouTube video the dialog box is displayed beneath the video. I tried...
Started by Gopinath on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To find out the z-index of the Flash movie on the page, you could use... .
Also, make sure the value you are specifying for the z-index is more than that of the Flash movie on the page .
Replace zindex with zIndex ; jQuery takes these properties in camelCase .
|
|
I have an ASP.NET repeater that shows a list of items with a delete LinkButton.
I want to setup the Delete LinkButtons to show a JQuery Dialog for a confirmation. If the "OK" button is clicked, I want to do the postback.
The obvious problem is that each...
Started by Matthew on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
CssClass="button" Text="Delete"></asp:LinkButton><br /><br /> </ItemTemplate> </asp:Repeater> <script> function ConfirmDelete() { return confirm("Delete this record(){ $(".button").click(function(....
|
|
Goal I've got a web page with a table of items. Each item has a delete button beside it. When that button is clicked, I want to
Ask the user to confirm Delete the corresponding item from the database Remove that item's row from the list Current solution...
Started by Nathan Long on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If the dialog is modal; otherwise, the user could click two different delete links, and you'd need(function() { deletingId = $(this).parent().attr('id'); $('#confirmdeleteitem').dialog('open'); }); $('#confirmdeleteitem').dialog....
|
|
I've just put the jQuery UI dialog into a web page. It's the first time I've used it. I thought I had set the bgiframe property correctly but when I check it in IE6 it's still slipping behind dropdownlists. Here's my javascript code. There's nothing flash...
Started by lloydphillips on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Maybe the ui should implement this itself as....
It is not enough to set bgiframe to true.
You also need to include the bgiframe plugin js.
There you'll find explanation of the behavior you see.
You need to use a jquery plugin, it's called bgiframe iirc .
|
|
Hi,
I'm looking for a way to submit information captured in a JQuery Dialog to the server in ASP.Net. I originally thought it would work with a 'hidden' asp button, but the click doesn't seem to be submitting the form. Here's the code I have so far:
&...
Started by Paul on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Add a form to the dialog then submit the form using JavaScript when you close the dialog or click.
|
|
All- I know this has been asked, but the previous solutions don't seem to apply to my situation.
I have a simple table with a number of records in each row, with the final column being a delete hyperlink. I'm trying to use the dialog to pop up and confirm...
Started by EvilPluto on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Basically, ....
It seems most likely that the problem lies in the fact that the actual dialog div isn't actually is literally the only div which is used as a dialog) at the same time that you say you're afraid to reference that div by an ID.
|