Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
160 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
499 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
165 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
118 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
119 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
72 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
1 answer
208 views
Hi,

Is this possible  ??  Have a telerik:RadScriptManager on my master page ( Site.master ) and I set EnablePageMethods = true and I have a page that is based on this master page called MyPage.aspx and MyPage.aspx.cs contains a [WebMethod] called GetStatus() and MyPage.aspx contains JavaScript that calls the GetStatus() method ........................
Is it possible ?
MyPage.aspx cannot contain a telerik:RadScriptManager because the master page already contains one ..
Please advise whether this is possible or not.

Seabus
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
1 answer
180 views
Hw to sort date in radgrid, the following doesn't work

<

 

 

telerik:GridBoundColumn DataField="Suspension" DataFormatString="{0:MM/dd/yyyy}" DataType="System.DateTime" HeaderText="Suspension"

 

 

 

SortExpression="Suspension" UniqueName="Suspension">

 

 

 

</telerik:GridBoundColumn>

 

Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
1 answer
166 views
Hi I am stuck on something which is frustrating mehopefully someone can help me out here, I have a Telerik grid with an Edit popup form. I have enabled automatic updates and inserts. For some reason the update on the page works but when I try to do an Insert
the button just stays there and does nothing. It does not go into the object data source Inserting event in the codebehind??  I dont understand what could be causing this, I thought initially it might be a client side function or even validation and i took them off still nothing. The update works fine but nothing happens when I click on insert.  I tried the "UseSubmitBehaviour" set to false as well since im not submitting client side. Can someone give me an idea what could be causing this, Here is what the submit button looks like, I am using it similarly on all the other pages and its working fine. Thanks looking forward to some guidance!

<asp:Button ID="BtnSubmit" UseSubmitBehavior="false" CausesValidation="true" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' ></asp:Button>
<asp:Button ID="BtnCancel"  Text="Cancel" runat="server" CausesValidation="false" CommandName="Cancel" ></asp:Button>
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Nov 2011
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?