View Complete Post
Hello, I have a calendar control that will have events displayed within each cell.
I want to use a pre formatted gridview and simply bind the gridview with a dataset dynamically and display it within the cell of the specified day.
Is there a way to do that or do I have to dynamically build a gridview for every day that there is an event?
So here is the template gridview and datasource:
I have databound GridView in my page and I have a hidden DIV in all rows. Each row contains a Button that I want it to make the DIV visible for me! how can I use that with jQuery?!
here is the code page:
Hi i am saving color as a string in database
i have a gridview control
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowUpdating="Update_Schedule" OnRowDeleting="Delete_Schedule" OnPageIndexChanging="OnPaging" OnRowEditing="Edit_Schedule" OnRowCancelingEdit="CancelEdit" PageSize="10"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:CheckBox ID="Todo" runat="server" AutoPostBack="true" Height="23px" OnCheckedChanged="CheckedChanged" /> <asp:HiddenField ID="hdn_ScheduleID" runat="server" Value='<%#Eval("ID") %>' /> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label Text='<%# Eval("Title") %>' runat="server" ID="lbl1"></asp:Label> </ItemTem
I have a gridview that has 20 columns in it. 3 of them are date fields. I am using templatefields but not edittemplates, only itemtemplates because the users want to update multiple rows and then update the data all at once. I have a panel with an update panel and a calendar on it and in the grid I have a popup extendar added to the textbox in the cell to make the calendar show but I can't get the value from the popup calendar back to the cell.
Does anybody have an example or is there a better way to do this?
Here is my templatefield:
<asp:TemplateField> <HeaderTemplate> <asp:Label runat="server" ID="lblInitialLabel" text="Initial Qual Date" Width="105px"></asp:Label> </HeaderTemplate> <ItemTemplate> <asp:TextBox runat="server" ID="txtInitialDate" text='<%#DataBinder.Eval(Container.DataItem, "initialqualdate")%>' BorderStyle="Solid" Width="80px" BorderWidth="1"> </asp:TextBox> <AjaxToolKit:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="txtInitialDate" PopupControlID="pnlCal" Position="Bottom" CommitProperty="value"
Hi All,
I have created a custom pager control for implementing paging which has four link buttons, two textboxes and two buttons in it. I have derived that control from a Panel and have implmented the INamingContainer and IPostBackDataHandler interfaces.
Problem:Every time I click on either LinkButtons or on buttons, the page gets posted back to the server and the LoadPostData method of IPostBackDataHandler gets called (as expected). But, the click event of the control that is cliked gets fired every alternate time.
E.g.: If I click on the LinkButton named 'First' for the first time, the click event handler will execute. Next time when I click on the same LinkButton, only the LoadPostData will get executed. Again, when I click on the same LinkButton, the event handler will execute properly. This pattern remains the same for all the buttons.Please let me know if any one has encountered such a situation and what can be a solution to it.
Thanks,
Girish :)
Hi,
how to upload multiple files to the sahrepoint document library using fileupload control inside the gridview.?
this is my form design:
<div>
<asp:Gridview id="gridview" runat ="server" autogentatecolum="false">
<columns>
<asp:TemplateField Headertext="3DFinal" runat="Server">
<ItemTemplate>
<asp:FileUpload id="Fileupload1" runat ="Server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField Headertext="2DFinal" runat="Server">
<asp:FileUpload id="Fileupload2" runat ="Server"/>
<asp:TemplateField Headertext="2Conceptaul" runat="Server">
<asp:FileUpload id="Fileupload3" runat ="Server"/>
</columns>
</asp:GridView>
</div>
<asp:Button id="Save" runat="server" Text="Save" onClick="btsave-Click"/>
If i click the save button the files should go to the sharepoint document library?
i need to uplaod multiple files to the document libray using file upload inside the gridview..
any one know about this file
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend