|
Sample Code[^]
and you simply add the dynamic control to the div container as you can see in the sample code.
|
|
|
|
|
Check out this CP article>> The Freeze Pane DataGrid[^]
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
I have 2 forms in my page, in 1st form I send some values to other page. and in second i hav some buttons. I want to submit the 1st form values to other page by clicking the button of the second form. Any body help me.
|
|
|
|
|
Not getting clearly.
Do u have two forms
or do u have two pages ?
Tell the exact problem by proper wordings.
|
|
|
|
|
I have a form in which ther is a submit button which submit values. I want to use an event handler with that button. But it submit the values first and event is fired after submition the values. I mean the event should be fired before that submition. Tell me where should I call that event which fire before the submation.
|
|
|
|
|
What you are asking for is not possible. The event handler is run on the server, and in order for the event handler to run, the form has first to be posted to the server so that the server has a request to respond to.
If you want to do something before the form is posted, you have to use a client script event instead, i.e. the onsubmit event in the form tag or the onclick event in the submit button tag.
---
b { font-weight: normal; }
|
|
|
|
|
I have already done that called the event handler in onclick event of submit button. But with doing that it is first submit and then event is called.
|
|
|
|
|
As I said, server events can not be executed before the data is submitted.
You have to distinguish between the OnClick event of the server control, and the client side onclick event of the html element that the server control creates.
The client side onclick event is executed in the browser before the form is posted. The server side OnClick event is executed on the server after the form has been posted to the server and the server has determined that the form was posted by clicking the element that the server control created.
---
b { font-weight: normal; }
|
|
|
|
|
event handling and data-submission go side by side, so thats not possible. sorry.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
Hi
I am exporting one datagrid in .xsl file.
So, On particular button click event i have done all coding to save datagrid in .xsl file.
This is fine.
When i select the path to open-save file dialogue box, my excel sheet will get saved, but i want simultaneously to save one another folder to same path , which i am selecting by this open-save file dialogue box.
How can i retrieve the "file-path" which i am selecting from that open-save file dialogue box ?
I want that "file-path" in one variable which datatype is string.
Plz. help me out....
prakash sawant
prakash sawant
|
|
|
|
|
I don't think you can access the selected path and save another folder on the client machine. Also, you basically do not have permission to access the local file system.
|
|
|
|
|
how to access table in a database thru repeater control, how to populate it... plz help me with coding.. made the connction string, commandtext, also filled dataset thru adapter, binded the data to repeater control and also wrote Binder.Eval method in html view but its not showing when viewed in browser.
allyblue
|
|
|
|
|
can u show us some code snippests to know where the problem is?
Best Regards
3ala2
|
|
|
|
|
i got that thing solved but couldn't find where the problem was did it all again . now i have a problem again... i made elements in the repeater control as linkbuttons(name of various categories) and i want, when the linkbutton is clicked, the productlist corresponding to that category be shown in a datalist control. i used item command event and specified the commandname of link button and also used if (e.Item.ItemIndex==0)inside it bounded the datalist. i just want to know how to access the name of item fetched from database in repeater control... what should i write (select * from product where categoryname='"+............+"')when we are inside the if block described above...???
allyblue
|
|
|
|
|
can any one send information how to search code in code projects
valluri kiran babu
|
|
|
|
|
Do you see the search box at the top of this page...?
|
|
|
|
|
type in the search box on right upper side. see, its thats simple.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
how can i create templete column in datagrid with dropdownlist in that.
can any body help me?
|
|
|
|
|
Hi.
Columns>
<asp:TemplateField headertext="">
<ItemTemplate>
<asp:DropDownList ID="dd" runat="server">
</asp:DropDownList>
</ItemTemplate>
</asp:TemplateField>
</Columns>
Pathan
|
|
|
|
|
i want create templete column with prigraming not this form. plz help
|
|
|
|
|
My Dear Below is an Example which can help u. Replay me when u got it.
<asp:templatecolumn headertext="Enable/Disable">
<itemstyle horizontalalign="Center">
<itemtemplate>
<asp:dropdownlist id="enbl" runat="server" autopostback="true">
<asp:listitem>Enable
<asp:listitem>Disable
|
|
|
|
|
where is an example. i cant see it. plz help
|
|
|
|
|
<asp:templatecolumn headertext="Enable/Disable">
<itemstyle horizontalalign="Center">
<itemtemplate>
<asp:dropdownlist id="enbl" runat="server" autopostback="true" onload="show" ontextchanged="enable_disable">
<asp:listitem>Enable
<asp:listitem>Disable
|
|
|
|
|
There is no here an example plz send it to my mail plz: ptvce@yahoo.com
i need for it plz
|
|
|
|
|
Check ur mail after few minutes
|
|
|
|