Are you asking about using the enter button to submit a form?
If so, you have to wrap the area in a panel, and set the panels default button ID for submit. Then the content in that area, if the cursor is in the textbox, will fire the assigned button. If the cursor is not in a element within the panel, nothing will fire.
on Page2 load event through querystring i get the Document ID and Open the Document (PDF/IMAGE etc), My Problem is on this Page2, I want to have a button with back page link but the button does not show as the page is loaded, So is there any way to show back link along with the document.
To kill a DEER, You need Guns, knives, Ropes and many people to help But To kill
You need just ignorance and silence
The challenge I face now, is that it should be possible to construct a page based on a xml-setup file. The page design is luckily quite simple. It´s basically a vertical page with controls on top of each other.
My question is, should I create and insert these controls from codebehind, that means asp.net controls?
I don't know about your xml idea, still thinking about that, actually I don't get it.
But on the latter question, It's a balance between time to create, and functionality. I personally don't like the Microsoft Ajax toolkit, and I'm stopped using it completely now, replacing it with jquery.
Thanks alot for your answer.
My challenge is a little different though. What I meant with the xml thing, is that the whole site has a setup file, which defines the controls on the page. Like this:
<PageSetup><ControlType="TextBox"CssClass="test"PageOrder="1"Text="Default text in the textbox"/><ControlType="Drowdown"CssClass="dropdownClass"PageOrder="2"><Itemtext="Dropdown item 1"Value="1000"/><Itemtext="Dropdown item 2"Value="2000"/></Control>
Hope that clearifies it a bit
I´ve started the project, and chosen to avoid the asp.net controls. So right now I build a long html string from codebehind, bases on the xml settings, and inject it on the page with jquery.
Any better idea?
Thanks alot for your time!
Last Visit: 31-Dec-99 19:00 Last Update: 30-Jan-15 18:47