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

I am building a RadGridwith a NestedViewTemplate which essentially has a PlaceHolderControl and within that a RadGrid control.  So it looks like:

RadGrid-1 (with drop down menu for each MasterViewTemplate item)
|__PlaceHolder
     |__RadGrid-2
          |__Detail Table (if necessary; depends on Input A)
  |__Detail Table (if necessary; depends on Input A) 
  |__Detail Table (if necessary; depends on Input A) 

In RadGrid-1 there is a drop down menu input and based on this input the RadGrid-2 will have a varying number of details tables for each row.  In other words the RadGrid-2 can vary in size for each NestedViewItem of RadGrid-1 depending on the dropdown.

I have created RadGrid-1 and the PlaceHolder in my ASPX file.  Since the contents of RadGrid-2 depend on the data that exists in RadGrid-1 I have to wait for the data to be bound before I can begin creating my RadGrid-2's.  I decided that I would create the RadGrid-2's in the RadGrid1_PreRender events because this happens after the data is bound.

The problem that I am having is now when I traverse RadGrid1 to access all my RagGrid-2's (RadGrid-2 has some inputs fields) they can not be be found.  I am making a call like the following and coming up empty.

For Each masterViewItem As GridDataItem In RadGrid-1.MasterTableView.Items

	thisGrid = DirectCast(masterViewItem.ChildItem.NestedViewCell.FindControl("RadGrid-2"), RadGridThe problem that I am having is now when I traverse RadGrid1 to access all my RagGrid-2's they can not be be found.  I am making a call like:


I added the RadGrid-2's to the PlaceHolder Control in the PreRender event so why can I not see them after?  Please note that "RadGrid-1" and "RadGrid-2" are fake names and I am using real names in my scenario.
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
63 views
Is there somewhere I can download the gallery demo?
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
3 answers
278 views
Hello forum,

I have a radgrid (radgrid1) nested in another (radgrid2).  The primary key for radgrid1 is "CustomerID" as is the foreign key in radgrid2.

How do I get the selected primary value in radgrid1 to automatically appear during inserts in radgrid2, as the FKey, so that the user doesn't have to manually enter it? 

Thanks.

Shinu
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
93 views
I have Radgrid with 2 levels of grouping

The basic export is exporting the data in the format that it is displayed. i.e with  groups level

Is there anyway I can export the raw data of the grid i.e with no grouping. Also I would like to omit certain columns from exporting (i.e for  example I have dept_code and dept_name . Dept_code is the code value for Dept name, so in this i want to export only Dept name )

Thanks for your help
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
106 views
I used below for my first radwindow pop up

 

 

this.imgCreateStoreList.Attributes.Add("onclick", "openWinEvents('Events.aspx?Designator=" + desParameter + "&ctProcessId=" + ctProcessId + "&rnd=" + System.Guid.NewGuid() + "'); return false;");

 

function openWinEvents(parameter) {
           var wnd = $find('<%=RadWindow1.ClientID %>');
           if (wnd != null) {
               wnd.setUrl("/Builder/" + parameter + "");
               wnd.setSize(800, 600);
               wnd.set_modal(true);
               wnd.set_iconUrl("/img/radwindowicon.gif");
               wnd.Show();
           }
       }
On the 1st radwindow pop up, I have a radupload button and want to save the file and open second radwindow for message/report display, I tried lots ways, can't open the second radwindow.

I suppose to use server side code to open it.

Tried:
RadWindow CommPromptWindow = (RadWindow)Page.Master.FindControl("EventsPromptWindow");
  
CommPromptWindow.VisibleOnPageLoad = true;
But not work. Please help!
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
50 views
Hi Shinu,

This thread is a reply for this below thread..i couldnt post a reply for this thread.

http://www.telerik.com/community/forums/aspnet-ajax/grid/replace-filter-text-box-with-a-button-in-grid-filtering.aspx . 

thnks for replying.

Actually i m using an older version(2008) of Telerik DLL. and that is not supporting "FilterTemplate". Any alternative to achieve the functionality? 
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2012
1 answer
117 views
Hi,

What could cause a performance issue with AJAX request that is network related?  We're getting different results based on multiple internet providers.  On some internet providers the AJAX request are twice as fast as the page loads, on others the AJAX request are double the page load speed.  It seems to have something to do with compression.  When we have compression on AJAX request are double the page load speed but still only on some internet providers.  With compression off AJAX request are always twice as fast as page loads.

We are using the RadAJAXManager...

Version: 2011.3.1305.40

Thanks,
Darren 
Darren
Top achievements
Rank 1
 answered on 08 Jun 2012
1 answer
119 views
The page I'm dealing with has a RadTextBox then a RadEditor following it.  Is it possible, when the Tab key is hit, to jump from the RadTextBox to the RadEditor's body input, skipping over the formatting options (Print, spellcheck, undo, redo, etc...)?  This would allow a user to type into the RadTextBox, hit Tab, and immediately start typing into the RadEditor, instead of needing to tab multiple times, or click.

Thanks
Princy
Top achievements
Rank 2
 answered on 08 Jun 2012
0 answers
188 views
Hi
I have a user control (ascx) with a radgrid. The user control is placed in a container control and that is placed in update panel.
I always get 
$find("ctl00_phMain_FS_TreeClients_ClientsList1_RadGrid1") is null

I've tried to move the container out of the update panel but the result is the same.
here is my user control code

    <script type="text/javascript">
        function RefreshClientGrid() {
            try
            {
                var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
                masterTable.rebind();
            }catch(Error)
            {
                alert(Error);
            }
             
        }
    </script>
<asp:Label ID="CompanyIdLabel" runat="server" Visible="False"></asp:Label>
<uc1:FSCompanyReadOnly ID="FSCompanyReadOnly1" runat="server" />
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True"
    AutoGenerateColumns="False" DataSourceID="LinqDataSource1"
    GridLines="None" Skin="Telerik"
    PageSize="15" CellSpacing="0" OnItemCommand="RadGrid1_ItemCommand"
    AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
    AllowAutomaticUpdates="True">
    <MasterTableView DataKeyNames="ClientId" CommandItemDisplay="Top" ClientDataKeyNames="ClientId">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
        <RowIndicatorColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <ExpandCollapseColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="LinkButton" UniqueName="EditCommandColumn">
                <ItemStyle CssClass="GridImageButton" />
            </telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn DataField="ClientId" DataType="System.Int32" HeaderText="ClientId"

Help please
Peter
Top achievements
Rank 1
 asked on 08 Jun 2012
2 answers
138 views
I am new to RadControls and am trying the trial version.

What I am trying to find is an example of the following (I've searched the forum for hours (over 2 days)):

Within a Grid there will be textboxes. When a textbox is clicked, I want a different grid to popup so that the user can click on an item in that second grid. The second grid will then close and the textbox (in the first grid) will populate with data that was selected from the second grid.

I think this is a fairly common behavior, in short, a Lookup of potential data that can be filled in the textbox.

Very similar to a calendar lookup, when a date is selected, the textbox fills with that date. I just want to show a grid and fill the textbox with the selected data (string, or whatever).

If there is a RadControl that does this out of the box, then I would like to know the name. I thought I had looked at all those nice tools and didn't seem to find a proper match for this functionality.

I look forward to your help :-)

Thank you in advance,

R
R
Top achievements
Rank 1
 answered on 07 Jun 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?