Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
213 views
Hi guys,

This is a 2 part question, i have been through some of the examples and previous questions posted and havent found my answer.

1st.
I have a main.aspx page with a RadGrid , In the Grid i have a column with and ImageButton that Opens Edit.aspx page inside of a RadWindow. On the Edit.aspx page i have 7 UserControls that are only shown when needed, The one user control is just a summary Control and has a RadGrid on it (This is the default UserControl that Gets shown when the RadWindow is opened). Now when a different UserControl is shown the Summary UserControl Just gets hidden.

On the UserControl now being shown it has a few Text Boxes and a Save Button which will update my database. When the user Clicks on the Save button my database is updated, the Current UserControl is hidden and my summary UserControl is being shown again. The problem i am having is that the RadGrid in the Summary UserControl Isnt being refreshed or updated. The only way i have found the RadGrid to refresh its contents it to close the RadWindow and open it again by clicking on my imageButton on the Main.aspx page.

Is there a way to refresh the RadGrid on the Summary UserControl once a user clicks on the Save button and the Summary UserControl is being shown again. (All code snippets i have found so far have failed)

RadWindow on the Main.aspx page

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="True">
<Windows>
<telerik:RadWindow ID="IncidentListDialog" runat="server" Title="Incident" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" Width="900px" Height="760px" Left="50px" Top="50px" >
</telerik:RadWindow>
 
<telerik:RadWindow ID="IncidentActionsDialog" runat="server" Title="Actions" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true" Width="900px" Height="760px" Left="50px" Top="50px">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>


2nd
On my Main.aspx page, When i Click on the ImageButton to open a New RadWinow even though i have set Top and Left positions my RadWindow Still Centers itself on my screen, and if i am scrolled to the top of the Main.aspx page and Click on a ImageButton the Radwindow will move to the Top of my page where i cannot access the RadWindows Control bar

newguy
Top achievements
Rank 1
 answered on 05 Jul 2013
7 answers
249 views
Telerik RadMenu seems not supported in IE 10, we have telerik dll version 2010.3.1317.20
We have sub menus which are not getting open when hover over the menus. Even main menus not getting open automatically when hover, it needs to keep on moving the cursor on the menu, then only it gets open automatically.
This issue occured only in IE 10. It works correctly on all the other versions of browser.

Here is a link to replicate the issue when open in IE 10
http://www.exair.com
On the top nav menu bar, go to "Buy Now" menu, it has other sub menus, which are not open at all. If you open the same link in other version, it works well.

Please let me know how do I resolve this issue.

Kate
Telerik team
 answered on 05 Jul 2013
2 answers
90 views
I've been working on this for several days now and I've had no luck so far. I have a RadGrid that Exports to excel, actually, several RadGrids in the application. The grids export as expected. The problem is that once I've exported, I can't edit a row. Here's what I've found so far.

When I click the Export button, if I set a breakpoint in the ItemCommand handler, the command name is ExportToExcel, as it should be. Then, once it exports and the page is ready for use again, I click the Edit icon in the row. This time, in the ItemCommand handler, the command name is still ExportToExcel, it should be Edit at this point. In fact, the command source is the Export button, not the Edit button.

I've also set a break point in the master page in OnRequestStart. I can confirm that the Ajax postback is canceled when Export is clicked and that the Event Target is btnExpXls. But when I click Edit, after exporting, the event target is the Edit button. However, by the time it hits the server, even in the RequestStart event in Global.asax, the event target is the export button.

When I step through the script side code I can see the event target getting changed from EditButton to btnExpXls; this appears to be  happening in the script for RadScriptManager. But I can't access that script to make changes, obviously. I'm hoping this is a known issue and that there is a workaround for it. Any suggestions will be greatly appreciated.
Kostadin
Telerik team
 answered on 05 Jul 2013
1 answer
95 views
I need to manually set the value of a control (hidden) during the InsertCommand event so that it inserts into the table.  I've tried a couple of different approaches but I can't seem to navigate to the control.  Can someone tell me how to do this?
Eyup
Telerik team
 answered on 05 Jul 2013
1 answer
375 views
I'm looking for a way to get the custom attributes of the DropDownTree on the client side. When I view the source, I can see the attributes,that i added from the server side, in the div tag of the control. How do I get those values? Is there a way to to pass custom attributes client side on an entry?

Thanks.
Kate
Telerik team
 answered on 05 Jul 2013
1 answer
197 views

 
hello 

 Radtextbox client events not working.

 on mousehover i want to increase the size of textbox
 and on onmouseout reset the size of textbox

its not working 
please help




<
script type="text/javascript">
            
                         
            function show(textField)
                {
                    textField.style.width="670px";
                    textField.style.height="400px";
                }
              
                 
                function hide(textField)
                {
                     
                    textField.style.width="670px";
                    textField.style.height="100px";
                    
                }
       
    </script>
 
 
 
 <telerik:RadTextBox  ID="txtComment"  runat="server" TextMode ="MultiLine"  Width ="670px" Font-Size ="12px"  Font-Names ="Arial" style="overflow:auto; padding :5px" Rows ="5" >
           <ClientEvents OnMouseOver ="show()" onmouseout="hide()" /
 </telerik:RadTextBox>  


 
 
Eyup
Telerik team
 answered on 05 Jul 2013
1 answer
246 views
I have a bunch of controls inside a RadAjaxPanel.
Some of the controls have auto post back set to true and populate other controls on the page.

When the post back occurs, all focus is lost (pressing tab one time selects the first control on the page).
I tried to fix using the following javascript which I found online: (I put the below inside the Selected IndexChanged event for one of the controls that causes the post back).

Dim sm As ScriptManager = ScriptManager.GetCurrent(Me)

sm.SetFocus(ddl_Category.ClientID)

The good news is that it works momentarily, I can see focus jump to this control (which happens to be on another part of the page but within the same RadAjaxPanel) and can even get a couple of characters to type if I'm fast.  But within less than a second the focus is lost and pressing tab goes to the first control on the page.

I don't know where to even start looking to resolve this issue.  I've tried many different methods to try and set focus to the control thinking they weren't working - when I realized that they actually were working they just got overrode a second later I got stuck.

Thanks,

Viktor Tachev
Telerik team
 answered on 05 Jul 2013
1 answer
162 views
I never used before the nested radgrid but now i want to apply in my project but i have confusion that how to bind the nested radgrid ?
so any budy have guidance or demo than help me

<telerik:RadGrid ID="outerRadGrid"  runat="server"
        ShowGroupPanel="True">
        <MasterTableView  AllowMultiColumnSorting="True"  GroupLoadMode="Server">
            <Columns>
               <%--Stuff--%>
               <telerik:GridBoundColumn DataField="ModuleName" HeaderText="ModuleName" ></telerik:GridBoundColumn>
            </Columns>
            <NestedViewSettings >
                <ParentTableRelation>
                    <%--<telerik:GridRelationFields DetailKeyField="sysid" MasterKeyField="MatNo" />--%>
                   
                </ParentTableRelation>
            </NestedViewSettings>
            <NestedViewTemplate>

            <asp:Panel ID="NestedViewPanel" runat="server" CssClass="viewWrap">
               <div class="contactWrap">
               
                <telerik:RadGrid ID="innerradgrid"  runat="server">
                    <MasterTableView AutoGenerateColumns="False" >
                      <%--Stuff--%>
                      <Columns>
                      
                      <telerik:GridBoundColumn  DataField="Title" HeaderText="Description"  FooterText="Total Time Spent"   />
                      
                      </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
                </div>
            </asp:Panel>

            </NestedViewTemplate>
        </MasterTableView>
    </telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2013
3 answers
214 views

Hi,

We are using Telerik RadGrid version ASP.NET AJAX Q3 2009 SP2 with Visual Studio 2008 and IE 8. I have to display a two-level read-only grid. First level grid will have certain rows and columns. When each row is expanded, the inner / detail level grid should display data in three sections. Please refer to the attached screenshot for reference. All sections / values are read-only. Each section has a different background color and the section name should be displayed in BOLD. Can you explain how to achieve this functionality ?

Your help is very much appreciated.


Thanks
Bhanu.
Andrey
Telerik team
 answered on 05 Jul 2013
1 answer
128 views
Hi,
    I am using Telerik Radgrid filter in gridboundcolumn. How to get less than, greater than and between values in filter. for example,
<300 means, I can get, type 300 in filter then go to filter option less than to find a values. But I need, type <300 in filter (Special characters not supported), I can't get a values.
Is there is any way to get values like this?

Thanks
Palaniappan. R
Eyup
Telerik team
 answered on 05 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?