Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
188 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
222 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
152 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
201 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
121 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
1 answer
260 views
Hi

I am opening a radwindow from my aspx to update some data in the grid. And after updating the radwindow is closed and I need to automatically redirect to anothet page. No cs code is needed.

Thanks for your reply
Berkman
Marin Bratanov
Telerik team
 answered on 05 Jul 2013
1 answer
80 views
Hi,

During runtime can I exclude a control from ajax which has been ajaxified?

Thanks
Antony
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2013
2 answers
283 views
Hi All,

How can I set checkbox checked on my radcombo by passing id values using client side. I was able to make this work on serverside using itemdatabound but then I would like to make it work on client side. I am passing id values e.g. "1,5,10,13"  which will make checkbox on my combo with value of 1,5,10 and 13 be checked.

Thanks in advance,
Rj
RJ
Top achievements
Rank 1
 answered on 05 Jul 2013
1 answer
408 views
Hello

I have created Multicolumn RAD Combo box and it is working fine but once user select any value it is displaying single column, is it possible to show multipal values as a text after user selects specific option. please find attached images, when it is displaying the list at that time it is showing the multipal columns in this example it is showing Template group,Effective Date,Expiry Date but once user select specific value then it is just showing Single column Template group. how to display multipal columns for selected value.


Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Jul 2013
5 answers
1.2K+ views
Hi,

I have a main.aspx page, when a user clicks on a link button in a gridView a RadWindow is displayed with a EditIncident.aspx page inside of it.
I have 3 buttons on the Incident.aspx page (Save, Clear and Cancel) This all works great but once the RadWindow is open no matter which button i click on the RadWindow Will close. How can i prevent this. I have looked through some of the examples and none have seemed to work for me.


Script i am using to open the window
function ShowEditForm(id, rowIndex)
{
          var grid = $find("<%= grdIncidents.ClientID %>");
 
          var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
           grid.get_masterTableView().selectItem(rowControl, true);
 
           window.radopen("EditIncidents.aspx?IncidentID=" + id, "IncidentListDialog");
           return false;
}

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


newguy
Top achievements
Rank 1
 answered on 05 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?