subsequently, doing this: string ctrlname = page.Request.Params.Get("__EVENTTARGET"); will get a control called TIABC_1 however, when I do: string ctrlname = page.Request.Params.Get("__EVENTARGUMENT"), i get nothing.so how can I embed this control with an event argument?
i am using one linkbutton here i did used accesskey is "S" when did i click on that key on keyboard focus is going there but no action is not working.. ....
i want to give one key like Alt + S the action was performed.... casusvalidation property is not working..
I have a web form and I am using __eventargument to initialize Session variables on page postback. The code work fines in IE7 and IE8 compatibility mode. But when I switch to IE8 standard mode, __eventargument returns me an empty string.
What can I do to make sure all values are returned in __eventargument?
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 new to asp.net and I have quite an annoying issue. I have a masterpage and a number of linkbuttons to navigate through the aspx pages.
My problem is that when I click on a linkbutton than the one selected, it doesn't highlight the selected linkbutton, because postback has been initialized. Instead it highlights the linkbutton that I have specified in the Page_Load event.
As you can see, nothing special; just colors and beautiful things.
I click on the blue Edit button and it fires the OnClick postback just fine.... in Chrome! But if I do the same in IE8, it just does nothing; doesn't even detect a click.
I removed the tag and kept just the word "Edit", and it works just fine in IE8 as a simple underlined link; the postback fires.
So, Why can't IE8 accept anything within LinkButton?
in my web application i want to give theme or css dynamically sal for example there are 5 radiobuttons each with some different theme user will choose any one and than that theme should apply to his page.i don't want give class name dynamically i want to give entire theme dynamically.
this might be a little bit random but im wondering how do i give each registered user his own page that is only editable by him but at the same time viewable by other users like :
1- user registers and gets his own page and then lets say he can add some text .
2- other users can view the page but not customize or edit it.
I have an optional DropDownList. If the user dosen't select any value the top most value is "0" unfortunatly the only way to send DBnull.Value to the database is check if the value is 0 and if it is then send dbnull. Is there a way you can do this within the dropdownlist without having to check for each and every dropdown?
I have a web page where I have formview and grid view. The formview's default mode is in update mode. The user needs to enter a value or modify a value and then needs to click update button. I want to show them a message when they enter or modified something but not clicked the Update button. The message will be like: "Do you want to save the changes"
writing name space as URI instead of HTTP URL in WebServie like this [WebService(Namespace = "http://www.samplesite.com/somepath/sth100/Service1.asmx", Name = "STHDBtoXMLWebService")]
How to give the Permissions to the users & Administrator in the asp.net...For example : I just want to give the permissions to the users that screens only appear for User remaining will be hide in the menu. What are the proper steps for the permissions in asp.net ....
After about 10 mins my web app will give me an error when i logout or try to save page. I have the sessions set and dont understand why I get this problem.in webconfig i have this.
1) A website will send a get request with a message and callback url as a query.
i want to generate an image and save it on my server and give a url to the calling server on the callback url as a query paramater.I already have the code to generate the image.I want to know how to save it on my server to be available to the calling server.and he should have no access to other images in the folder.
2)Can any one also tell me how to send an image to a url in a POST request.
im developing website for my college.I have Recent updates in my home page in that i want to display newly added or updated things in recent updates.
sourcecode and Instructions for how to create link and how to redirect that to corresponding forms and how to create forms for particular updates dynamically then i want to make scroll the updates in GridView using Vb.net.
I have read about Ajax Control Toolkit that should solve pop-up window requirements, but I need a solution that doesn't involve me downloading this. I have an editable FormView from where I want to pop a "warning window" whenever the user clicks a button that closes the Form. This "warning window" should have the following controls:
Label: "Do you want to save changes?" btnPopSave: "Yes" >> triggers databinding of FormView fields to datasource, then closes warning window and the FormView btnPopClose: "No" >> closes warning window, and FormView without databinding
If this is not possible (or too complicated), I think I can settle for just a warning window with:
Label: "Make sure you've saved changes." and no other controls
btnPopClose: "OK" >> closes warning window, and FormView
I have a XSD file in my website. I need to give its path in code.
using (XmlTextReader textReader = new XmlTextReader (@"C:VS2008ProjectsInterfaceSchema.xsd"))
But, If my website move to dev server, QA server, Prod server, I need to change the path here. Can we do any other way instaed of whole path. Like example for css file, we just name of <link href="filen.css">.
I tried to replace the path with "/Schema.xsd" but getting exception file not found. I tried eith ~ root symbol also. No use.
I also can do by keeping the value in webconfig. Even though, i need to change it every time.
How can i give validation to all controls (like textbox, radiobuttonlist, checkbox, fileupload) in my aspx form in server side.... and also validation for controls with regular expression in serverside...
How to give multiple language view to my webpage? In my page have a language bar to choose language. when user select a language the page will appear on this selected language.