Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
226 views
Hello.

For you information, the javascript code I have used to get the value of a hidden value is:

function GetSelectedRowCellValue(sender, args) {
    var grid = $find("RadGridMain");
    var selected = grid.get_masterTableView().get_selectedItems();
    if (sel.length > 0) {
        var row = grid.get_masterTableView().get_selectedItems()[0];
        var cellValue = grid.get_masterTableView().getCellByColumnUniqueName(row, "TheColumnName").innerText;
        ...
    }
    ...
}

The ASP.NET code is:

<telerik:GridBoundColumn DataField="TheColumnName" UniqueName="TheColumnName" DataType="System.Int32" Visible="true" Display="false" />

The Visible and Display settings are important.

I hope this can help other developers.

Regards
Augusto
Shinu
Top achievements
Rank 2
 answered on 21 Nov 2011
2 answers
164 views
My radbuttons and radtoolbar button does not render properly when I use raddatepicker in my form.  I'm using IE9.
I use a master page have two content place holders.  One for the main content and form and another that has a floating div on at the bottom of the page.  I place several telerik controls in the main content (i.e. textbox, numeric textbox, combo box, datepicker, grids, etc.)  and i also use a radajaxmanager and radajaxlaodingpanel.  The weird think is that the problem only happens when i place rad datepicker in my form.  all the other controls works fine with radbutton and radtoolbar.  Can someone help me solve this please? 
JR
Top achievements
Rank 2
 answered on 21 Nov 2011
2 answers
318 views
So I'm wondering if it's possible to retrieve the DataKeyField of the Appointment inside the OnAppointmentDelete event and how (server-side not client-side)?

Regards,
Sasha.
Sasha
Top achievements
Rank 1
 answered on 20 Nov 2011
2 answers
148 views
Hi i've a rad grid. I can expand the row in the grid. I've binded the grid from the dataset. When I expand the rows i want to populate the textboxes inside the expanded row. I'm unable to do that.


Can anyone help me out this?? Thank you
Suderson
Top achievements
Rank 1
 answered on 20 Nov 2011
9 answers
483 views
Hi,

One of the pages loading usercontrols dynamically from a folder (each usercontrol has a different form and a different functionality), but when I click in any button in the usercontrol which causes postback, then the entire usercontrol disapears.
Does Telerik ajax controls handles this issue? if so, please let me know how.

Regards,
Bader
Bader
Top achievements
Rank 1
 answered on 19 Nov 2011
1 answer
144 views
I have a radtabstrip

<

 

 

telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Windows7"

 

 

 

Align="Justify" ReorderTabsOnSelect="True" Width="347px" >

 

 

 

<Tabs>

 

 

 

<telerik:RadTab Text="Providers" NavigateUrl="http://localhost/CMIPSII/Default.aspx" runat="server">

 

 

 

</telerik:RadTab>

 

 

 

<telerik:RadTab Text="Reports" NavigateUrl="http://localhost/CMIPSII/Report/Reports.aspx"

 

 

 

runat="server">

 

 

 

</telerik:RadTab>

 

 

 

</Tabs>

 

 

 

</telerik:RadTabStrip>

I have to store the navigation url in webconfig and refer here.

Need help.

 

Stuart Hemming
Top achievements
Rank 2
 answered on 19 Nov 2011
18 answers
1.4K+ views
Hi,
I'm using RadGrid with a DataTable as a DataSource.
I would like to filter the rows displayed in the grid on page_load, but I do not want the filter to be displayed to the client...
(I want to filter programmatically by using a filterValue extracted from the pages's request object.)
I've looked around forums etc and haven't found any code that shows data filtering  - only one that uses a column filter which interacts with the user.

please help... :(

thank you,
Revital
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
1 answer
109 views
I have a numeric text box that I set a minimum value of 1 and a maximum value of 99.  If I type 0 into the field the validation fires but it does not clear that 0 out of the text area.  On the OnError event I am trying to clear the value of the textbox but the 0 is still there.

<telerik:RadNumericTextBox Save="Text" ID="txtFileFormat" runat="server" 
                      MaxValue="99" MinValue="1"
                      Width="25px" TabIndex="1" AllowOutOfRangeAutoCorrect="False" 
                      AutoCompleteType="Disabled" ClientEvents-OnError="FileError">
                      <NumberFormat AllowRounding="False" DecimalDigits="0" />

function FileError(sender, args) {
  sender.set_textBoxValue(null);
}

Is there something that I am missing?  Does the OnError event prevent updates to that object?
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
3 answers
100 views
Hello to all
i m binding a radgrid on page load initially radgrid's visibility is false on the selection change of dropdown i want to filter datafrom radgrid my code is here but its not work.....

    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    {
        RadGrid1.Visible = true;
        RadGrid1.MasterTableView.FilterExpression = "([totaldis] ='" + DropDownList1.SelectedValue + "=') ";

        GridColumn column = RadGrid1.MasterTableView.GetColumnSafe("totaldis");
        column.CurrentFilterFunction = GridKnownFunction.EqualTo;
        column.CurrentFilterValue = DropDownList1.SelectedValue;

        RadGrid1.MasterTableView.Rebind();
   }

radgrid property is

<telerik:RadGrid Skin="Sunset"  OnPreRender="RadGrid1_PreRender" Width="1200px" ID="RadGrid1"
                    AutoGenerateColumns="False" EnableLinqExpressions="false" OnNeedDataSource="RadGrid1_NeedDataSource" AllowMultiRowSelection="true" GridLines="None" runat="server"
                    ShowFooter="True"  AllowPaging="false" AllowFilteringByColumn="True" Visible="False">
                    <ClientSettings AllowColumnsReorder="true" EnableRowHoverStyle="true" ReorderColumnsOnClient="true"
                        Selecting-AllowRowSelect="True">
                        <Selecting AllowRowSelect="True" />
                    </ClientSettings>
                    <MasterTableView AllowFilteringByColumn="True">
                        <RowIndicatorColumn Visible="True">
                        </RowIndicatorColumn>
                        <Columns>
<telerik:GridBoundColumn HeaderStyle-Width="20px" ItemStyle-Width="20px" HeaderText="Total Income"
                                DataField="tolincome">
                                <HeaderStyle Width="20px"></HeaderStyle>
                                <ItemStyle Width="20px"></ItemStyle>
                            </telerik:GridBoundColumn>

  </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
1 answer
59 views
When I try to export to excel, dropdown controls and checkboxes also get exported in to the XLS document.

  RadGrid1.MasterTableView.ExportToExcel(); //exports everything from the grid, including the controls. 

How can I prevent this from happening?
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?