Forms Data Controls :: Adding A Blankrow In A Radgrid?
Sep 6, 2010i want to add a blank row in a radgrid.. how do i do that?
View 2 Repliesi want to add a blank row in a radgrid.. how do i do that?
View 2 RepliesAll I want to do, is to get a values from a grid when it is not in edit mode. Note that I'm able to get two of the values (both the int32 fields), but I cannot get a reference to the "IsActive" Checkbox or the string "Delimiter" field.
let me know how I can accomplish this. Below is my code-behind. Notice the boldfaced fields I can't get...
[code]....
I have a RadGrid on my UserControl which i wanted to print. I dont know how to print it.
View 2 RepliesI'm using telerik radgrid with some record rows , after updates one row from grid,where dispaly only that row.After click refresh button,all the records are view.
View 2 RepliesI am having one column in each row of my radgrid in which i want to show an image. I am getting values from database saying 1,2 for that particular column and for each of these values i want to show different images for different values. For Example if i am getting 1 from database i want to show "roseImage" and for 2 i want to show "lotusimage",
View 3 Repliesi want to display a sum of column values in radgrid footer.
View 1 RepliesWhen I am trying to display data using radgrid I am getting error like "Index was out of range. Must be non-negative and less than the size of the collection. Parameter: Index".
Here is my code
[Code]....
I've got a DNN application using Telerik RadGrid. We're exporting some data from the Grid but when we drill down on the grid control and export the data we only see the initial top level data, never the updated Grid. Here's my table tag and supporting code. I'm not an expert in ASPX/C#so please forgive my newbie-ness.
<mastertableview autogeneratecolumns="False" datakeynames="AccountId" datasourceid="SqlDataSource1"
groupsdefaultexpanded="False">
<DetailTables>
[code]...
I was creating another usercontrol with Telerik's RadGrid and Calendar.
[code].....
The problems are, (1) when I click the submit button. the data in the RadGrid is not changed. (2) how can we check if there is nothing selected in the Calendar controls, because there is a date (01/01/0001) set even if we do not select anything from that calendar, thus Calendar1.SelectedDate != null is not enough.
i'm currently learning .Net and i can get data out of a database and display in a listview. But how can i access data items in the code behind and format, change, concatenate...do whatever i want to them then display in the list view? Is it even possible?
[Code]....
Maybe an example of what i'm trying to do would be to concatenate a address from the dataset and in a variable sAddress and then attach sAddress to a label in the list view, or add to colums of the dataset together and then show in a label in the listview.
Scenario : I want to add data from database to checklistbox on page_load and checked data should be stored in other table.I want to bind data to checklistbox like a gridview, i m trying but i m not able to.
View 2 RepliesI'm using a GridView to output some information regarding an account, specifically account balances. Problem is, if there is no balance linked to the account, I need for the grid to simply display 0 for each column. EmptyDataText isn't sufficient as the columns still need to be listed, but just have the value 0.
After researching it seems like I will need to add a dummy row to the gridview if it is empty, but how do I do this using C# and ASP? Quick note as well, not sure if it's relevant but the grid will only ever contain one row.
I'm trying to access and display certain data in my database using category ID's. I've added values to the links in a link list and I was to have the selected value as the one that determines the selection in the selection statement. For example, "SELECT [ID_key] AS ID_Key, [Title], [Source], [PublicationDate], [Url], [CatID] FROM [Newsarts] WHERE ([CatID] = Linklist1.SelectedValue)". I know Linklist1.SelectedValue doesn't work or it may work and I don't know how but I want to be able to use the value selected from the previous link. Is there a way?
Also, after all the data is displayed, I would like them to become links themselves. Basically, I want to choose a category, then choose an article in that category, and they hit the link to display the article's content.
I am currently adding checkbox functionality to a system. I would like to check a group of users and add them into a db table. I currently have the administrator values flowing into the db table fine but it will not insert the empID into the table from the gridview. Here is my code:[Code]....
View 5 RepliesI have a gridview that contains template fields with textboxes that is used to look up inventory items. The page loads using an arraylist to display a gridview control with a predetermined number of rows. There is also drop down control that allows the user to add additional rows to the gridview if needed.
Currently when a user has already entered some data if you use the drop down to add more empty rows all the original entrys are removed. I want to save the original data and then add empty rows at the end.
>>
Private Sub LoadDataGrid(ByVal numberOfRows As Integer)
Dim Counter As Integer
Dim GridList As New ArrayList
For Counter = 0 To numberOfRows
GridList.Add(New LibVB.Form2VB(Counter))
Next
gvEnterParts.DataSource = GridList
gvEnterParts.DataBind()
End Sub
<<
I'm lost, kind of a newbie to .net, have been working on this for 2 days! d.
I have a piece of data that has a refererence number and then account name that looks like this in the database:
111111,Member Account~222222,Trial Account
I have the data spitting out just like that in a grid view, but I am wondering if there is some C# I can put in to where it adds a column when there is a comma and another column when there is a ~ in the data?
Does someone know how to add an image in a drop down data?
View 1 RepliesI am buidling a support call system that allows people to submit support tickets and then an engineer can respond to them.Support tickets are submitted from a formview to a database. Then the engineer looks at them from his own page which shows that particular call in a formview, he adds his comments and hits update.What I want to do is be able to add more than one set of comments should the engineer have to make more than one entry and for that I would like the control to add a column to my database table.Is there an easy way for this to be done?
View 2 RepliesI need to add a checkbox column to my data and do it programmatically. I've seen a lot of other posts that address this, but can't get it to work in VB.
[Code]....
I am creating a page where I am required to have a list/customized view of the data returned, unfortunately a Gridview will not handled the way that I need to display the data. One of my requirements is that I need to have a Column Seperator. I know how to add a row to the gridview on the fly, but I am not sure on how to do that with the Datalist. Can someone please point me into the right direction?
View 1 RepliesI am trying to add a new row into a gridview but for some reason i'm having a problem in the for loop.
Directly goes to dtCurrentTable.Rows.Add(drCurrentRow) and of course, have an error "'row' argument cannot be null.
Parameter name: row", because the dtcurrentTable.NewRow was not executed.
Why is this happening?
Private Sub AddNewRowToGrid()
I got a web app linked to a SQL Server 2005. The registration page for learners on this page require a lot of information and many of them are on dropdown controls linked each to their own table adapter. The table adapters are linked to tables within the Database. The dropdowns consist of info like designations, grades, categories, race, etc. The tables like designations changes from day to day as new types of designations are added and the other removed. What will the best way be to add data to the dropdowns? Another way I considered are to have one table and add a field like a type field that distinguish between the dropdown so that I only use one table adapter, or are there a better way. Some Code:
[Code]....
I want to add a new row to gridview.
View 5 RepliesDepending on the data returned from a Stored Procedure, I need to add specific controls to a page and then when they are populated by the user, write them back to the database. What is the easiest way of doing this?
View 9 RepliesThere are two fields and a button :
1)text box for the caption.
2)drop down list to select the control to be added.
3)button is an ADD button .
when the "ADD" button is clicked the text entered in the "caption" text box has to appear in the first cell of the first row in the table and the control selected from the dropdown list has to be added to the second cell of the same row. similarly many such captions and controls have to be dynamically addded to the successive rows of the table as per user selection ( note: the previously selected control and caption label must persist on furthur selections .
how do i go about the adding controls and the text into the table part ?