my table has an address. below my table im displaying a map. i have a button show map. i would like to give a parameter to that button to load the address from the query and display it on the map. how can i achieve that. here is my code and button.
i have written this code in a Class for enter date in data base using gridview And following code is written in aspx.cs page on button click but i do not know what value pass in st.insert(..........)
i have dll in which i have writter function for filling dataset, so i want to pass field name of the table as a parameter to thid dlli dont know how to give quotes to the parameter.i am passing the parameter as a string
I've got a HomePage.aspx page - user clicks "NEW PROJECT" and they get brought to the NewProject.aspx page.
While on this page they click CONTINUE buttons on the page that move you through 3 stages of CASE creation.
If they click BACK - the BROWSER BACK button - I want to pop up a warning.
Quote:
Going back will return you to the client homepage, and all data entered for this project will be lost. Do you wish to proceed?
If they click NO they return to where they just were - as if they did not click BACK.
Is this possible?
If not - can I make BACK just return to the HomePage.aspx - as if all the NewProject.aspx postbacks were not new page entries in the BROWSER history.
Flickr does something like that. When you click on the "in the last minute" link and see recent photos - then click reload several times - each of those reloads does not go into BROWSER BACK history. If you click BACK you are back onto the initial [URL] home page.
I have create a masterpage and add content page include user (firsname,lastname,password,new password,confirm new password adn etc..)detail update field. i try to give a client side validation all the function work,but in confirm password its not hide wen give a correct password.. anybody give correct solution..code are below..
I'm Using Ajax POP UP Extender Control ... and The Panel Which will appear in The POP UP Has Data List ... Inside That DataList i have Image Button For Each Item In Data List.... When I click in any Image Button in That DataList ......I Get That Error At run time Microsoft JScript runtime error: 'this._postBackSettings.async' is null or not an object
... My ASPX Code is
[Code]....
And I put that code inside update panel and ToolkitScriptManager
i need 2 disable a link button click.. when i give btn.Attributes["OnClick"] = "return false;"; it will work but when i take the mouse over the button its style is maintained as tat of the link, but the link wont work. ijust want to make it apperar as a label.
I have a form that is HTML, it involves a few string questions, a radio button, and a check box question. After the form is filled out, the info is then passed to an aspx page which sends out an email with the info. I am able to pass the string questions to the email, but am having trouble passing the radio button answer and the check box answers to the aspx and to then to the email. I have the code for the HTML set, I need help with the code for the ASPX page.(it is VB) Here is the code I have so far.
HTML <form id="form" method="post" action="SendEmail.aspx" enctype="multipart/form-data" name="questions"> <div class="Qblock">Name: <input type="text" class="input" value="" name="contact_name" /></div> <div class="Qblock">Phone #: <input type="text" class="input" value="" name="contact_phone" /></div> <div class="Qblock">E-Mail: <input type="text" class="input" value="" name="contact_email" /></div> <div class="Qblock">How many years have you been in this industry?<input type="text" class="input" value="" name="contact_long" /></div> <div class="Qblock">What is your specialty?<input type="text" class="input" value="" name="contact_special" /></div> <div class="Qblock">Do you have a cell phone? <input type="radio" name="P1" value="Yes" /> Yes <input type="radio" name="p1" value="No" /> No <br /></div> <div class="Qblock">Can you do any of the following? (check all that apply)<br /> <input type="checkbox" name="ckBox" value="CustSer" /> Handle Customer Service<br /> <input type="checkbox" name="ckBox" value="ReadForm" /> Read Expense Reports<br /> <input type="checkbox" name="ckBox" value="NewCust" /> Sign Up New Customers<br /></div> ASPX Protected Sub RetrieveValues() Dim sTemp As String = String.Empty sFromName = "[URL]" sToName = "[URL]" sSubject = "Web - Contact Us Inquiry" sTemp = String.Format("{0}{1}{2}", "<<< Marketing Opportunities >>>", vbCrLf, vbCrLf) sTemp = String.Format("{0}{1}{2}{3}", sTemp, "Name: ", Request.Params("contact_name"), vbCrLf) sTemp = String.Format("{0}{1}{2}{3}", sTemp, "Phone: ", Request.Params("contact_phone"), vbCrLf) sTemp = String.Format("{0}{1}{2}{3}", sTemp, "Email: ", Request.Params("contact_email"), vbCrLf) sTemp = String.Format("{0}{1}{2}{3}", sTemp, "How many years have you been in this industry? ", Request.Params("contact_long"), vbCrLf) sTemp = String.Format("{0}{1}{2}{3}", sTemp, "What is your specialty? ", Request.Params("contact_special"), vbCrLf) End Sub
As the title says when I click the submit button on my form, instead of taking me to the next form with a url of controller/action/id or /action/id I am getting a nice 404 with a url of /id/action
The offending action is called IntakePage2. Typing the correct route manually works.
My routes are as follows:
[Code]....
The relevant controller code is as follows:
[Code]....
The partial that IntakePage1 loads:
[Code]....
<%}%>
IntakePage2 main page (The partial it references just has the text "boo" in it at the moment. It is intended to take an InsertViewModel object at some point.)
I have passed the value from one page to next page using a querystring. In the next page i need to get the value from the query string and based on the value, it needs to checked with the database and the result set should be placed in the gridview, details view or listview anything else.Â
user      mobileno         email vicky      9848752322     ervigsh@gmail.comÂ
In the details view or list view control, I need to get the value vicky from the url and based on the value's row in the database table need to be binded in any of the mentioned above controls.
I've a MDX Query that has where clause as shown below.I'm designing report using SSRS 2008. How can i pass date as parameter? I tried to setup @from and @to as parameter but not working?
WHERE ( {[Date Central].[Calendar Date].[2010-04-01 00:00:00]:[Date Central].[Calendar Date].[2010-08-30 00:00:00]} )
need it to work as WHERE ( {[Date Central].[Calendar Date].[@From]:[Date Central].[Calendar Date].[@To]} )
One of our customers has a report with a single value string parameter that has over 1000+ possible values. selecting single value from 1000+ choices results in bad UI, among other things.create another parameter that acts a filter for the other parameter. So you would have Param1 with say 25 choices and selecting a choice would narrow down the option for the second parameter.Is this the best way. What is the best practice for handling these kinds of parameters?
How do you use the http POST method with a Grid View on another page. I am trying to use the POST method to send the ID from the selected row of a Grid View, I am using a link button set to fire the select command and it has the Post Back URL set, from one page and then retrieve the ID value on another page using an Object Data Source. Also, under the Defining Parameters, I am setting the ID parameter to Form Parameter Source and have entered the Grid Views name in the Form Field.
My global.asax is not being triggered on errors on my production server..It's works fine on my dev server but I can't figured out why. my app is using asp.net 4.xxxx and iis6. I've read on web about PrecompiledApp.config but I don't see that anywhere on dev or rod..what are some things to look for..also, On my dev server the error is written cleanly to eventlog but on prod I get message below. The description for Event ID ( 0 ) in Source ( Application ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: ........