Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
220 views
I have a Radnumeric , Radcombobox  and rad radcheckbox in Radgrid inside GridtemplateColumn . I want to extract the value entered by the user in the ondelete  event on the client side .
Actually I want to get the value entered by the user and subtract the value in the footer .

         I already know to do this in onfocus and onblur event . i want this to happen in ondelete event in the client side .

                 
      var grid   = $find("<%= RadGrid2.ClientID %>");
      var row    = grid.MasterTableView.get_dataItems()[eventArgs.get_itemIndexHierarchical()].get_element();
      credit_col = grid.MasterTableView.getCellByColumnUniqueName(row, "GlcodeTextBox")

               I tried the above code but it did not solve the problem . More over i dont want the cell.innerhtml with all sapan the html tags . I want the value only  in ondelete event .

Please kindly help us . We have spent lot of time in this but we are unable find a solution .
Princy
Top achievements
Rank 2
 answered on 18 May 2009
1 answer
133 views
Dear all,

I am serializing the state of my docks using xml serializer (also tried javascriptserializer).
However, not all the values are deserialized correctly. For instance, width and height of the docks are being lost.

This is an example of the object before serialization and after deserialization:

+  [0] {"UniqueName":"5eb163f6a40aaa4e42a8b15a3c768b30db0f","DockZoneID":"ctl00_contentpane_Top","Width":"250px","Height":"250px","ExpandedHeight":"0","Top":"0px","Left":"0px","Resizable":"False","Closed":"False","Collapsed":"False","Pinned":"False","Title":"Campaigns Distribution(Promised)","Text":"Added at 5/15/2009 12:40:52 PM","Tag":"~/Development/Controls/DeveloperCampaignDistribution.ascx","Index":"0"} Telerik.Web.UI.DockState
-  [0] {"DockZoneID":"ctl00_contentpane_Top","Width":"","ExpandedHeight":"0","Height":"","Index":"0","Top":"","Left":"","Closed":"False","Resizable":"False","Collapsed":"False","Pinned":"False","UniqueName":"5eb163f6a40aaa4e42a8b15a3c768b30db0f","Tag":"~/Development/Controls/DeveloperCampaignDistribution.ascx","Title":"Campaigns Distribution(Promised)","Text":"Added at 5/15/2009 12:40:52 PM"} Telerik.Web.UI.DockState

How can I restore the width?
If you need code example, you can find it the previous support ticket.

Thank you.
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 18 May 2009
1 answer
125 views
hi,

how i can change image url of close button in popup window ?
i want change image of close button in top of opened window in popup mode for editing row in grid

tnx
Sebastian
Telerik team
 answered on 18 May 2009
1 answer
166 views
Hi there,

In server-side, SelectedValue property is used to get/set the value of selected item. In client-side, the property is split into 2: get_value() and set_value()... That's known and understood.

I have a scenario where I wish to cast the value of clicked Node of a tree to select the item with same value in a respective combobox. In server-side, I could easily achieve that:

Dim nodeValue As String = myTV.SelectedValue 
myCombo.SelectedValue = nodeValue 

However, when I tried the same in client-side, it didn't work!

var nodeValue = tree.get_selectedNode().get_value()); 
combo.set_value(nodeValue); 

Using set_value() didn't accomplish a thing! The only way to work this out was to search for the item with similar value THEN select it:

var nodeValue = tree.get_selectedNode().get_value()); 
combo.findItemByValue(nodeValue).select(); 

In light of that, I'm wandering why I can't accomplish said task fair and straight, thus, this workaround? What's the benefit of set_value() in this case? Is it a bug or Am I missing something here?

Regards,
Saed

Yana
Telerik team
 answered on 18 May 2009
1 answer
96 views
Hi,

I have a horizontally positioned slider control which I need to start in the MIDDLE of the control. Example: The slider has a 1 to 100 range, I need the handle to BEGIN in the middle of the control (50) without the 1-50 being selected. If I were then to move the handle from the middle to the maximum point (100), it would have visually selected the range of 50 to 100, not 1 to 100, and additionally the value would return 100 as that is where the handle is positioned.

Is there any way to achieve what I need?

Thanks so much.
Tsvetie
Telerik team
 answered on 18 May 2009
1 answer
713 views

Can anybody point me to the examples on how to use the Telerik's Richtextbox control ? Examples for the following functionalities :

- To Take Input data and store in the same format in db.

- To show the same formatted data back in the richtextbox , when it is read.

- To enable and also disable Edit/Update data.

 Thanks in advance.

Tsvetoslav
Telerik team
 answered on 18 May 2009
3 answers
105 views
hi,

I  have used RadGrid for ASP.NET controls in my application.

today i have purchased RadGrid for ASP.NET AJAX controls.

i want to upgrade my application.

what are all the steps to upgrade.

whether  should i change my application completely or is there a way to do it easily?

 can u give me the solution.

thanks,
Sebastian
Telerik team
 answered on 18 May 2009
3 answers
130 views
Hi,

I have a requirement to show dynamic grid. Under dynamic it's meant that following model should be displayed in the grid:
Row-1---*-Cell

Eg: there are objects Row and Cell with following information:
  1. Row can have zero or many cells of different types.
  2. Row can have zero or one cell of the same type.
  3. Cell can be in one and only one row.
  4. Number of cells in different rows might be different.

I need show this table structure on the grid with following in mind:
  1. Each row on the grid represents a Row object
  2. Each Cell on the grid represents a cell of the particular row.
  3. Each column of the grid shows cells of the same type.

Can you suggest me the best way of implementing it with RadGrid?

Dynamically creating GridColumns I have no way to tell what should be rendered in a grid cell.
I probably need to implement custom GridColumn but not sure what I have to override and where a value comes from.

Thanks,
Dmitriy.
Yavor
Telerik team
 answered on 18 May 2009
1 answer
102 views
I have the radeditor on my page where I need to enable and disable the editor based on a radio button click. It is working fine by just setting the 'Enabled' property of the radeditor on server side. But the problem is that the radeditor then becomes invisible. The user will not know that there is a control unless he or she clicks on the radio button to enable it. How can I make the editor show up but in a disabled state?

Thank you,
Vithiya
Lini
Telerik team
 answered on 18 May 2009
3 answers
123 views
Hi,

Had created columns dynamically in the button click event. The sorting functionality is not working. Came to know that sorting works when the columns are created in the Grid_Init Event but here that's not possible to create because columns will be changed based on the item selected from the dropdown list. Answers are appreciated if someone have fix to this problem.

Thanks
Venkat
Yavor
Telerik team
 answered on 18 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?