Sep 23, 2010
I have an .aspx page with a couple of textfields. I validate these with jQuery validation plugin when the user clicks the submit button. When the submit button is clicked I also open up a new window, but I only want to open the window if the fields are correctly filled out.How do I stop the window from opening if the fields are not validated?
we are running a click-to-call service, my idea is basically like this: website have a link on their page, when the link is clicked, a web page(say it is popup.aspx) hosted on our server is popup, user can input their phone number, and click "call me" button to let the website call him. In the button click event, I want to get Request.UrlReferrer, then query the db to get website's phone. But in IE, Request.UrlReferrer is null(firefox is ok, not test chrome yet),my question is how to get opening window' url in IE? we put popup.aspx on our server because
our client website is not force to use asp.net. we have the control what we put on the popup window, and can modify the page just from our side, if we put the pop window on our partner's side, if we have 100 partner, and we change the page's design, we will notify everyone of them to change this, change that. we can implement a statics system to know how popup a day, which site is most popular,etc
I need to be able to flag ANY PartyId input field with class="PartyLookup" so that it will modify the DOM and include the image next to the input field. The popup window returns data to populate both the hidden and text fields, but since the click() is generic I need to pass it the ID of the input field.
I am trying to return true or false from popup window to the parent window. Actually the parent window has a button control, which on click popup another window. The popup window holds some emailing data and a button "send". This "send" button onclick send email. Now I want to return true if the email is successfully sent otherwise false, to the parent window. Depending on returning value a label present on parent window displays a text message. But I am not able to implement it. Because it might happen that the popup window is blocked by web-browsers popup blocker or popup window is accidentally closed by user. So how can I confirm to parent window whether or not the email is successfully sent?
I have a login page that is loaded in popup window (colorbox) and after user logs in it should be closed and parent window should be loaded with new page.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Do While reader.Read() If Trim(reader("ZAP").ToString()) = Trim(textBoxZap.Text) Then Session("A") = "1" Response.Redirect("~/default.aspx") Else lblErr.Text = "incorect" End If Loop
So once the buton is clicked and user name and password is corect popup window should be closed and user redirected to default aspx.
I am trying to open a popup window from main window using window.open() method. How to get back the value from the called popup window to the calling window in vb.net, basically i need to get back the value and populate in the text box available in the main window.
I have an aspx page which contains a user control(a gridview). When I click on a link button in the gridview, I will open a popup window(An aspx page) successfully. When I click on save button in the popup, I am saving the details and refreshing the parent page successfully. I have a button in popup window. My requirement is:
When I click on the button inside popup window1, I would like to open another popup(aspx)(Say popup window2) in a new window without closing popup window1. When I save some changes in popup window2 and click on save button in popup window2, I need to close it and refresh popup window1.
I have a problem to use jquery Plugin/Validation.I want to add a method and follow the documentation but I think I still missing some thing.First I add the method but I think I have a problem to implement it.
I want to validate some asp.net textboxes with the jQuery Validation plugin found at[URL], but it appears that the elements must be between a form tag. If I have just a couple elements, I would hardly call that a form, so I would rather not have them wrapped inside a form element. Is there a way around this? Also, if I have two buttons on the form, a cancel and a submit button and I want the form only to validate when the submit button is clicked, but not the cancel button, how is this accomplished?
I am using asp.net 4.0 and I have use FormView with JQuery Validation but thing is that when I close my Internet connection my browser will show offline. What can be be the problem and How to detect which thing is trying to connect Internet How can I solve it.
I have created a web page in asp.net 3.5. The page contains number of div. Based on user selection i will show the div as per requeriment. But now the number of divs are increased and the size of the page becomes too large. Then i decided to create the user control of every div. Now, my problem is how do i open a user control using UI Block Plugin of jquery. Because i have to block the backgroud controls.
am trying to use JQuery validation plugin to validate some fields on one page.at page also has a link button which submits the page to server. Now the problem that I am facing is jQuery validator doesn't fire when I submit the page with that link button. If I change the link button to normal button or image button then validation works fine. I can't change the control on the page and have to use the link button.
I have a good number of regular expressions used for validation. Instead of manually typing in many addMethods for each regex, I tried using a loop. I have the below simulated struct to hold the regex name, RegExp object and validation message.
I did a little research and all i can find is binding the js to a control that will fire the popup.Is there a way that i can use in code so i can trigger a popup window from vb.net code? If it is to complicated then is there a way to have a button set with the popup message i want the user to view and make the button click with .net code so the onclick event will fire and show the popup window?
i have 4 pages in aspx. page A, B , C, D. if i go from pageA to Page B then after clicking submit on PageB its should goto PageC and open Page D in a new window at same time. but if i go directly to PageBand click submit then it should only goto PageC and not open PageD in new window. i am using /?dest=pageD.aspx in querystring but it wont work. How can i acheive this?