when I click on ImgEnter it show popup menu ModalPopupExtender.Show();
It is correct problem is that when I click on imgcap if it run first ELSE condition it does Session["MessageError"] = true; and it show popupmenu (it show ModalPopupExtender)
I want it just show popup menu (ModalPopupExtender.) just when I click on imgEnter button ....
I want to show the confirm button extender but only at some condition after clicking the button. Is there any way to do this without using javascript ?
I am trying to do a simple thing using asp.net. I wanna show a modal popup panel from a server procedure with vb.net.
The error is: The popup don´t show when I click cmdTest Button.
OBS: I used cmdTest just to call the procedure. In my project, one button call a procedure that will or not call other procedure that will or not show the panel.
I have a modalpopupextender and I want to show a panel after a postback which works but once the panel is shown it disappears immediately. Upon reviewing the markup, it seems as though some inline styles are being set.
style="display:none; position:fixed"
If I edit the display attribute and change it to block then the panel will displayed with all its rendered content but I need it to display after a postback. After troubleshooting the only conclusion i have is that the modalpopupextender is setting the inline styles, because when I turn off the modalpopupextender, then the Panel will show correctly.
I am using Visual Studio 2010 and working on an ASP.NET web application targeting .net 4.0.I am using the Ajax control toolkit version 4.1.40412.2In my .aspx page I have the following:
[Code]....
In the server side code for the lbAddMember_Click event I have the following:
[Code]....
If I click the lbDummy button the popup will show as expected however if I click the lbAddMember button I can trace the server side code and it is being called but the modal popup does not ever showThis works if running with FireFox but does not work when running IE. Here is the other stange thing. This has been working in IE for last few weeks but just started not working this week.
The modalpopupextender works fine on my computer and for many other users. However, some user experience the popup appearing in the upper-left corner of the website. This is a serious concern since the popup is used to allow users to reset their time while taking an online class. Any thoughts on what might cause that behavior for some users? (Note: reported user is using IE8.)
I'm using a ModalPopupExtender, Modal1. This shows an animated gif & tells the user that the page is loading. The z-index for Modal1 is 2001. The z-index for the background of Modal1 is 2000. This is working fine until a second modal is displayed.
I'm using a ModalPopupExtender, Modal2. This allows the user to add data & process a record. The z-index for this Modal 2 is 1001 The z-index for the background of Modal2 is 1000
When the submit button is clicked in Modal2, Modal1 appears above Modal2 but the background for Modal1 is behind Modal2.
Is it possible to have the Background for Modal1 appear above Modal2 when the submit button is clicked?
I have a user control (ascx) vs 2010 that contains a modalpopup extender thats popup control is an asp:panel. In that Panel I have an update panel and a contenttemplate inside the upd panel. It is a pretty simple example of its use, in that I have list box allowing the users to create a new row in a table.
However, when I click targetcontrol, the background changes to the expended modal background, but instead of being able to use the listbox, everything in the content panel is the same as the background and none of the controls on the panel are enabled. In other words, the entire page is loaded dimgray, including the updatearea.
I use ajaxToolkit:ModalPopupExtender to show a modal window panel. The panel among other things contains a "Submit" button. I would like to call a code behind function on Submit. First I tried this:
[Code]....
But btnSubmitOnHold_Click() is never called. Then I replaced OnClick="btnSubmitOnHold_Click" with OnClientClick="SubmitPutOnHold" and added
<script type="text/javascript"> function SubmitPutOnHold() { alert('blah'); } </script>
I'm using what I believe is a pretty common/boring/generic implementation of a ModalPopupExtender. I'm using client-side JS to show the dialog when the user clicks a link, and hide it if they click "cancel". I only do a postback if they truly want to save the data.
I can click the link to show the dialog, then click the cancel button to hide it, then click the link to show it... ad infinitum. If I decide to save the data via a postback, everything works well, and the dialog is hidden as a result of the postback, all as expected.
However, once the postback completes, my client-side JS show() never works again. Any attempts to click the link fail quietly; no error messages, the dialog just never shows again.
I am using Ajax toolkit first time ... I don't know how to use itÂ
in girdview I am using Ajax :Â ModalPopupExtenderÂ
if I click on studnetid then Student info pop up page should come
 <asp:TemplateField  HeaderText ="StudentID" SortExpression="StudentID"  >           <ItemTemplate  >             <asp:LinkButton ID="StudentIDlinkButton" runat="server" Text='<%#Eval("StudentID") %>'  OnClick="ShowPopupwindowforStudentID" />
I have a gridview that displays items awaiting supervisor approval. The supervisor clicks the Review button and a modal window should popup with the results of a database query on the record. I am using a dataketname param on the grid. Here are the ASPX elements, The gridview and the modalpopup code
[Code]....
I am using mpeApproval.Show() in the codebehind but it isn't firing. I've been at this literally all day and am feeling pretty stupid at the moment. Have I provided enough for you to make a determination?
i am trying to retrieve data from sql database but I get this error: < An expression of non-boolean type specified in a context where a condition is expected, near ')'. > whats this error meaning?
I would really appreciate if someone can find out what's wrong with this code.
Here is my question. I have textboxes in a modal popup extender (City, state, zip) and there is an image button search for searching the address from the database. All this functionality is within a control (.ascx file). This control is added to the page where it needs to be displayed and is being displayed when a user click the Address button (the code for it is not shown here). The method ShowAddressSearch() in the control is being called from the page and it displays the popup.
When the user enters any of the 3 values and hits search a server event is fired up and the result should be displayed in a grid. What is happening is, when the user hits the search button the server call is made and the data fetched from the db but the modal popup closes itself here is the code for this. I would really appreciate if someone can find out where and how popup is getting closed.
Imports System.Runtime.CompilerServices Namespace Extensions Public Module IntegerExtensions <Extension()> Public Function ToCommaDeliminatedNumber(ByVal int As Integer) As String Dim _input As String = int.ToString Select Case int Case Is > 99999 : Return _input.Remove(_input.Length - 3) & "k" Case Is > 9999 : Return Math.Round(Double.Parse(int / 1000), 1).ToString & "k" Case Is > 999 : Return String.Format("{0:N0}", int) Case Else : Return _input End Select End Function End Module End Namespace
And in one of my classes I'm using user.Reputation.ToCommaDeliminatedNumber I am importing the Extensions Namespace into the Class, but the error I'm getting is...'ToCommaDeliminatedNumber' is not a member of 'Integer?'. I do have other Extension Methods for Strings and Dates that work exactly as expected... I'm just at a loss on this one.
I am facing an interesting issue related to user control validation. I have a strongly typed user control with address entity. I have also created the address entity metadata class with validation definitions. This user control is basically to search and get the address based on the pincode user input. Pincode field is part of the user control and I have defined the required field and regexp validator for pincode field in the address metatdata class.
Now the user control is partially rendered in the customer page where I want to validate the pincode field in the customer page when the user clicks the search button in the user control.But the strange thing is the validation is not working as expected when I click the search button but when I bind the form collection to the entity using update module, I am getting an error. Can anyone help me what all I need to consider in the control ascx page and in the customer aspx page and in the controller?
On my underlying DB I have 3 tables. 1 of those tables comprises of just the primary keys of the other 2 tables. When I built the Model, it recognised this and so didn't actually generate an entity for this table, but instead made a many to many relationship between the other 2 tables.Now when I save changes against the context. (new records) under the hood the table with just primary keys are not populated. How do I get this table populated?
I have a modal popup extender with one control (ascx) this control has a label that on onclic method call other popup extender.
It's has other ascx, it's has a button for a search. When I do Click in this button in first time, the event click not fired and there are a javascript error that say "this._activeDRagVisual is null reference".
In the other hand, If a use de second popup inside an asp page the event and control work correctly. The problem is with the popup inside popup.
I have a form that gets populated by LINQ and I want to be able to update the database using that same form. The form is populated by grabbing a querystring (for example, "edit=10") and searching the primary key for that record. So far so good. I have a button attached to the function below which is supposed to use LINQ to update the database with data from the form. I get no errors, but for some reason, it is only updating one field (Last_Updated) instead of all of them.