22 Unanswered Topics
Remove Filter
|
|
Hi Guys I have a GridView inside a tabcontainer with some bound data fields , i have set Autogeneratecolumns=false; ShowHeaderwnenempty=true; But i can't see header or grid anymore when run but it is visible on design mode, but if i manualy bind it gridview.datasource=dataset; gridview.databind(); it is showing header and … |
|
screenshot for edit gridview : http://img829.imageshack.us/img829/2304/06v6.png screenshot for update gridview : http://img801.imageshack.us/img801/3417/j4p1.png this is my code inside tag <body> : <form id="form1" runat="server"> <asp:GridView ID="GridView1" runat="server" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowUpdating="GridView1_RowUpdating" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" onselectedindexchanged="GridView1_SelectedIndexChanged"> <RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> <Columns> <asp:CommandField ShowEditButton="True" ShowDeleteButton="True" /> <asp:BoundField DataField="p_user_name_id" Visible="false" HeaderText="p_user_name_id" /> <asp:TemplateField … |
|
Hello, i need some help here, i want to change Edit,Select,Delete linkbutton in the gridview to be outside the gridview, i have tried to hide the 3 button and make another button outside gridview, but i dont know how to make a link between all the button. this is my … |
|
I have been going through the motions and still cannot seem to get this right. I have textboxes in a gridview that are populated from an access database. They are all datetime values. In the backend code, I am trying to loop through all those values and then apply conditional … |
|
I have a gridview which is connected to a SQL datasource.In the gridview i have a item template field (Textbox) and a image button. when i click on the image button, i get a popup (using ModalpopupExtender).In the popup there is a checkboxlist with a series of items which are … |
|
Please help me update a gridview using a pop up. It couldn't get the primary key of the selected row. these are my codes: Protected Sub btnSaveRemarks_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSaveRemarks.Click strSQL = "UPDATE CandidateScreening SET Remarks = @Remarks, Status = @Status WHERE ID ='" … |
|
I have a gridview with 3 columns Name,Surname,Change(ButtonField column) which is populated from an SqlDataReader with the following code [CODE] SqlCommand sqlCommand = new SqlCommand("select * from Empl where userId ='" + userid + "'", sqlConnection); sqlConnection.Open(); SqlDataReader reader = sqlCommand.ExecuteReader(); GridView1.DataSource = reader; GridView1.DataBind(); [/CODE] In my database there … |
|
Hello all, I am trying to transfer some variables to another page for editing. I am having troubles with the checkboxes. [CODE]GridView1.Rows(e.NewEditIndex).Cells(12).Text & "~\/~" & _[/CODE] is a checkbox and when passed and split it comes up as a empty string. I know there has to be a way to … |
|
In my project there is an editable grid having three fields 'Quantity-Price-Amount', where a user can change 'Quantity/Price' depending on that 'Amount' field value should change at clientside, so that user can see Final amount for that row before saving. And there is a TextBox which showing Total Amount of … |
|
Hello! I'm trying to find a code to delete multiple columns because when you delete a column the next column takes his place so for example: If you delete column 6 then column 7 becomes column six. I tried the following code with an for loop & a while loop: … |
|
hi, i want to create a custom gridview control with paging, sorting and filtering. I tried a lot of for it , but didnt get it correctly. Can you give me the code for it. thanks in advance, sreevidya |
|
Hi, I have added a template field on my grid view and added radio buttons to it. I have also given them group name. However when grid view populates, radio buttons behave like check boxes and multiple of them are getting selected. Here's code for GridView for ur reference. Plz … |
|
I want to know the best practice & approach to insert the data of gridview on button click which located below the GV actually i Selected some rows by check boxes then I want to save it on DB? by xml by looping etc,, which method is best |
|
I have gridview for file download with linkbutton which keeps filename as commandargument and one more column with number of files to be downloaded. Condition is that if have more than one file i redirect to another page otherwise i can download my file there itself. I am having my … |
|
Hi all, I have a grid view I am trying to use, and it displays a large number of pill codes, (thousands) that I would like to be able to filter down. I have set up a dropdown list that gives the different options to filter on, basically every letter … |
|
hi! i want horizontal gridview datas. how can i get it? |
|
hi guys, i have my gridview printing problem. i have column say print in gridview.i have link button in gridview in each row.when i click on link button i want to print that row's record. anu idea or code please help me.thanks in advance. kk |
|
Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user … |
|
Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user … |
|
i have a datagridview with checkboxes in my window form and i want to sort my result with textbox without losting checkbox checked value. i place code in textbox_textchange() event. first i fill datatable with label click() [code] Private Sub Label8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label8.Click … |
|
Hi I want stylize web form (form, gridview, button, menu) like windows classic form. Please help me. |
|
I have SQL datasource and all columns are directly displayed in gridview. [CODE] DS_params.SelectCommand = "SELECT ID, ParamName, ParamValue FROM Params WHERE ProductID=" + pid; DS_params.Select(DataSourceSelectArguments.Empty); grid_productdata.DataBind(); [/CODE] The first thing I cannot figure out is how to make some column read-only so it can't be edited, without directly adding … |
The End.