i am use a Fancy sliding form,
it is in html formet,
now i want to use it in asp.net web page,
but the problem is, it is not work properly with runat="server" tag
when i remove it(runat="server") into the form tag, the fancy slider work well,
but if i remove the runat="server" i am not able to use asp.net controls in website,
(problem:if i use run at server,
i am fill or left blank the first step, it always show right tik sign at bottom of slider)
so plz help me
Why would you need to use runat="server" for the Sliding Form itself? It is simply client side jquery functionality.
The runat="server" should only be attached to the asp.net controls used in the form.
The answer above is correct, but I will take an extra 5 minutes to explain it to you.
when you code HTML on a web form, you can use regular HTML or you can use asp.net object.
This is a HTML Object <div><div>
You can also use the asp.net object panel which would be
<asp:panel id="div1" runat="server"></asp:panel>
technically they do the same thing, but, if you want to access that div or panel in code behind, you have to use the asp.net object panel.
You can't access HTML Objects with ease in code behind.
So your fancy slider box is probably uses a combination of both HTML and asp.net objects, or perhaps written for PHP and just uses HTML elements.
So it's jquery object, you will have trouble with the submit button and perhaps all the textboxes, you would have to convert them to asp.net objects to get to the next level with your work, or else you won't be able to read the values, and trigger a postback to the server to pick up the data.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)