Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
103 views
hi friend,
i have small problem, but it makes as big issue for me.
my problem is i have grid with data loaded.
on clicking the row of the grid, the data of that particular row should pass to the controls above the grid like radtextbox and radcombobox.
i am using javascript to do this.
i can pass values from radgrid to radtextbox, by using below code.

var interesttype = document.getElementById("rtxtinteresttype");
interesttype.innerText = args.get_gridDataItem().get_cell("interesttype").innerText

but this not working for combo box.
i tried with this one:-
//method 1
 var currency = document.getElementById("rcmbcurrency");
  currency.innerText = args.get_gridDataItem().get_cell("currency_Code").innerText

and this
//method 2
var
item = get_Item().findElement("currencycode").innerHTML;
var items = rcmbcurrencycode.findItemByText(Item);
items.select();

but i cannot bind the data from grid to combo box.
any one can find where i made mistake in this code and how to solve this? or i want to change coding method to pass values from grid to combo box.
thanks in advance
S.Rajkumar
Tsvetoslav
Telerik team
 answered on 15 Feb 2012
8 answers
183 views
hi friends
iam using three text box and two combobox to submit the values in grid.
on clicking the row in the grid the data will transfer to the respective controls, like name value transfer to the txtname and so on.
iam using client side code:-
var name = document.getElementById("rtxtname");
name.innerText = args.get_gridDataItem().get_cell("name").innerText
this is working for textbox controls.
but my problem is, i problem is to pass grid values to the combo box. this coding is not working for combo box.
any one can solve my problem.
what changes to do for combo box.
thanks in advance
S.Rajkumar
Tsvetoslav
Telerik team
 answered on 15 Feb 2012
8 answers
498 views
Hi,
 I have a radgrid. I am binding data to radgrid on server side and in ItemDataBound event I am manipulating each cell in each row assigning text and tooltip to it. I am also creating columns programmatically beforehand. Everything works fine until I reorder any column on client side. After reordering tooltip that is shown is of item which was initially at that position and same for alignment. So can you please help me out in setting alignment and tooltip?

Thanks,
mahesh
Rashmi
Top achievements
Rank 1
 answered on 15 Feb 2012
2 answers
65 views
Hi
when I set mode property of PagerStyle to "NextPrevAndNumeric" , a [Page Size] part is added too
Can I make it invisible or set it's dropdown value items to a custom set of page sizes ?

Thank you for your feedback
reza
Top achievements
Rank 1
 answered on 15 Feb 2012
8 answers
196 views
Hello there.
i'm using the RadGrid with paging.as i can see, the basic paging is numeric + buttons for next/prev and first/last page.
when i click on the numeric buttons then it work fine but when i want to navigate with the prev/next buttons then it doesn't work.i don't get any error message.it simply not working.
i attached a screenshot of the paging style on my grid.
more general info:
i create the columns myself (means that AutoGenerateColumns="False"),
allowpaging=true, allowsorting=true,

very basic settings.
can anyone help?
thank you.
Shinu
Top achievements
Rank 2
 answered on 15 Feb 2012
2 answers
175 views
Hello,

I'm a newbee to the RadEditor Control and working on an issue wherein some of the text formatting functionalities are not working.

We've deployed the RadEditor on our SharePoint 2010 site and while creating a new page we've embedded this control within a Content Editor Web Part. Problem is when I modified the "AccessibleToolsFile.xml" to include these missing controls, it shows up them correctly but not functioning. for example, I want to underline or italic some text which is not working!

When the page loads, I used to get three errors from webpage as:

"No Implementation for converting the split button BackColor into an Accessible Tool."

"No Implementation for converting the split button ForeColor into an Accessible Tool."

"No Implementation for converting the split button FormatStrip into an Accessible Tool."


Can someone assist me to give away these errors and make the following controls functional:

1. FontName: DropDown is empty even if font names are entered in AccessibleTools.xml file
2. FontSize: DropDown is empty even if font sizes are entered in AccessibleTools.xml file
3. ApplyCSSClass: DropDown is empty with value as -----------
4. ParagraphStyle: DropDown is empty with value as -----------
5. Italic and Underline: Text is not formatted to either italic or underline.

Any help / suggestions on this would be highly appreciated!

Thanks and Regards,
Vishwajit
(vishwajit.s.walke@tieto.com)
Vishwajit
Top achievements
Rank 1
 answered on 15 Feb 2012
6 answers
316 views
I build my (ajaxified) grid up dynamically in code. I do that in the Page_Init event so virtual paging is correctly implemented. On every column I have added the AutoPostBackOnFilter = True. When you do this and the user types in the filter in a second column, the filter that was set in the first column is lost.

I guess this is because the grid is recreated and the CurrentFilterFunction and CurrentFilterValue are not persisted because I create the columns dynamically. What is the best solution to solve this?
Princy
Top achievements
Rank 2
 answered on 15 Feb 2012
2 answers
129 views
I have a grid that I am using custom paging on, the grid has a mastertable and a detailtable.

The grid has a autogenerated footer containing the number of pages, next, previous, etc...

When I expand a row and the detail tables is shown I get the exact same footer on the details table as on the grid. What option do I need for this not to happen.

The footer on the details table does not make sense as it's the information for the grid.

Thanks
Alex
Top achievements
Rank 2
 answered on 15 Feb 2012
2 answers
107 views
Is it possible to set a startup script for a Edit Form template of an RadGrid? If so how? 

I would like to set a javascript function for the ScriptManager.RegisterStartupScript() like I can do for a RadWindow in the Page_Load() event but I'm unable to locate anything on how to do it. I have the need to access specific html table cell styles to change the background color of the Edit Form template.

Any help would be appreciated.
-Richard
Richard
Top achievements
Rank 1
 answered on 14 Feb 2012
2 answers
120 views
Hello,

I have a RadFileExplorer with the standard buttons in the toolbar and also a couple of custom buttons.  I would like to move my custom buttons all the way to the right of my file explorer toolbar.  Is this possible?  Below is my style for the custom buttons:

<

 

 

style type="text/css">

 

 

 

/* Set the desired properties to the custom buttons */

 

 

 

a.adminLoginStyleClass.rtbWrap .rtbText

 

{

 

 

font-size: 12px;

 

 

 

background: url('./images/administration.png') no-repeat left center;

 

}

 

 

 

a.logoffStyleClass.rtbWrap .rtbText

 

{

 

 

font-size: 12px;

 

 

 

background: url('./images/logoff.png') no-repeat left center;

 

}

</

 

 

style>

 


Thanks,
Adam
Adam
Top achievements
Rank 1
 answered on 14 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?