Your question is not clear. How is user adding values? Only way to have multiple values in a variable is string concatenation. If you want to keep adding on, just do something like myvar = myvar + ',' + newvalue;
1. user1. page1.aspx send request to page2.aspx with method "GET" --> page2.aspx?search=hello 2. user1 again. input next value then redirect to page page2.aspx with same method --> page2.aspx?search=world
What I want to see result in page2.aspx is show all value that user inputted. saerch=hello,world
Have you tried using a temporary cookies to store each search term submitted to page2? The methods Asp.net uses to store state (viewstate, hidden fields, etc) are generally designed to work with POST requests so I don't think there is any client-side feature that will work.
i was worked with validation controls, i was used Required field validator and compare validator for confirm password field .i was used display dynamic for compare validator and dispaly static for required field validator..
i got error message dynamically... actually , my doubt was, can we specify the property display dynamic in any one of the validation ah? no need to specify display dynamic to all validator control?
i want to add video/audio on my asp.net site dynamically taking link from my access database, please help m out , i tried <object><embed /> tags but not working, or may be i was doing something wrong, plz help m
I recently found a popup calendar control here: http://www.ezineasp.net/post/ASP-Net-PopUp-Calendar-Control.aspx[^] that works great! But the trouble I am running into is that, if I try to apply some validation; e.g. date rangevalidator, to it, nothing happens. I figured out that after the value was being set in the text field that the 'OnTextChanged' event is never being fired, probably because focus is not be given to the textbox. To get the validation to work I had to actually click into the field and press enter, this triggered the desired validation to take place. What I want to happen is for this automatically trigger the validation of course. I set the following fieds CausesValidation="true" AutoPostBack="true" but have had no success. Does anyone have any clues as to what I should do?
You don't seem to understand how asp.net controls works in general, I don't recommend using every control in the ASP.Net object library because most of them are useless.
I use the Jquery Calandar instead, and use 2 of them for a date range.
Member 9952350 wrote:
I figured out that after the value was being set in the text field that the 'OnTextChanged' event is never being fired
I've never used it in a textbox control, but there seems to be support for it. The need to postback a page to check the value of a textbox is stupid. You only want to post a page back once.
The rule of thumb is to validate before submission. You can do it all at once, or on every blur event in the DOM.
I think the asp.net validators are a joke, and are provided for some demonic reason that I can't figure out. They are unreliable, and I got many phone call complaints about them. So I dumped them and went straight to the DOM for validation. I'm upset because I wasted years using them for no practical purpose or reason, only having to rewrite them all over again.
Thank you for the insight and yes you sound very angry lol. But I appreciate the perspective, as to, feel like alot the ASP controls not very useful. Anytime you get ready to do any little that is not excatly standard functionality, you basically seem to have to rewrite the entire control/tool to get the job done.
Easier said than done. You really should just drop one down on your webform and play around with it first, and work on the CSS you need to style it, then load it up with your data, and write code for expand and collapse.
The treeview is pretty complicated, and doesn't really work very well across all browsers, so it requires some browser detection and some tweaking for each node and child nodes.
So for IE, the text on the nodes read clear, but on firefox, the text is very fine, but perhaps it depends on your monitor or video card.
As for right clicks, I tried that and decided thar the work required to enable right clicks outweighed the use of them. Then you have to determine which node or child node was selected, and what the object type is to take action to.
You really need to write your own code, or google for sample code instead of asking us to google for you.
I use it to show files in a folder by file type, and place the appropriate icon next to the file type. So I do a folder read, and create nodes in code without binding.
I have an a.aspx page and inside that page, i have ajax modal pop up extender. This will open an iframe which has b.aspx page. When i click on a button in b.aspx page , i should be able to hide the modal pop up extender in a.aspx page.
var iframe = parent.document.getElementById("AlertNotesExt");