Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
189 views
Hi,
Can anyone tell me how to select a radgrid row from client side by clicking a radio button.Beacuse I am taking the selected row in the code behind to save the data.
(Currently I am achieving this by a post back. I want to avoid post back so that I can make some client side validations.)

Or is there any way to get the datakey value from the checked radiobutton?

Thanks in advance
AJITH
Princy
Top achievements
Rank 2
 answered on 30 Aug 2011
1 answer
188 views
hello all

I have a RadGridView and I want to extract data from a row using a RadioButton and send to a label.
how can do this action?


Thank you for your attention.

Have a nice day!
Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
3 answers
114 views
Hi,

Can somebody tell me if it is possible to set the combo box outer border? I say outer border because
it appears that by using the properties giving in visual studio to set the border only set the inner border.
but the border around the combo box will remain which ever color in used by the skin you choose. I've
search high and low, will really appreciate your help, I also attached a photo example.

Thanks,
Ron
Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
2 answers
86 views
Hello all,

  When I update version of telerik to newest (2011.1.519.35) and then i have an example: click radmenu to open a popup. But With IE9 i 've a problem: the popup is not focus like Firefox or google chorme..

i've an eaxmple "TestPopupIE9" below: http://www.mediafire.com/?gdwcci7w6yd3r9r

Please help me fix this.

thank you!

nguyen
Top achievements
Rank 1
 answered on 30 Aug 2011
1 answer
110 views
HI. I'm testing  Radinputmanager.
I want to print dropdownlist1's index without radinputmanger's validation at client-side.

i expected  i clicked the "print selectedIndex" button,it printing dropdownlist1's index
and if i click the "Print Result" button, it works validation to textboxes.

but result was raise  the textboxes validation.
help me.

My source is
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp8._Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="expires" content="-1" />
    <meta http-equiv="pragma" content="no-cache" />
    <link href="./main.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="frmMain" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompression="Disabled">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
 
    <div id="divContents">
        <table style="width: 800px; text-align: center; margin: 0 auto;">
            <tr>
                <td colspan="2" style="width: 800px">
                    <asp:DropDownList ID="DropDownList1" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="width: 100%;">
                    <asp:Button ID="Button1" runat="server" Text="Print SelectedIndex" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="width: 800px">
                    <asp:Label ID="Label1" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
        <table style="width: 800px; text-align: center; margin: 0 auto;">
            <tr>
                <td colspan="2" style="width: 800px;">
                    <h2>
                        Input Manager Control</h2>
                </td>
            </tr>
            <tr>
                <td class="tdLeftContent">
                    Numbers Only
                </td>
                <td class="tdRightcontent">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    ex) 12345679
                </td>
            </tr>
            <tr>
                <td class="tdLeftContent">
                    Currency
                </td>
                <td class="tdRightcontent">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    ex) 79.90
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="Button2" runat="server" Text="Print Result" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: left; padding-left: 200px;">
                    <asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label><br />
                </td>
            </tr>
        </table>
    </div>
    <telerik:RadInputManager ID="RadInputManager1" runat="server">
        <telerik:NumericTextBoxSetting BehaviorID="NumericBehavior1" EmptyMessage="type here"
            ErrorMessage="Numbers Only" DecimalDigits="0" Culture="en-us" Type="Number" Validation-IsRequired="true">
            <TargetControls>
                <telerik:TargetInput ControlID="TextBox1" />
            </TargetControls>
        </telerik:NumericTextBoxSetting>
        <telerik:NumericTextBoxSetting BehaviorID="NumericBehavior2" EmptyMessage="type here"
            ErrorMessage="Numbers Only" DecimalDigits="0" Culture="en-us" Type="Currency" Validation-IsRequired="true">
            <TargetControls>
                <telerik:TargetInput ControlID="TextBox2" />
            </TargetControls>
        </telerik:NumericTextBoxSetting>
    </telerik:RadInputManager>
    </form>
</body>
</html>

and code behind is
Imports Telerik.Web.UI
 
Partial Class _Default
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If (DropDownList1.Items.Count = 0) Then
 
            Dim listItemDummy As New ListItem
            listItemDummy.Value = ""
            listItemDummy.Text = ""
 
            DropDownList1.Items.Add(listItemDummy)
 
            For i As Integer = 0 To 10
                Dim listItem As New ListItem()
 
                listItem.Text = (i + 1)
                listItem.Value = (i + 1)
 
                DropDownList1.Items.Add(listItem)
 
            Next
        End If
    End Sub
 
 
    Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
        Dim dropDownListIndex As String = DropDownList1.SelectedIndex.ToString()
     
        Label2.Text = TextBox1.Text + " AND " + TextBox2.Text
 
 
         
    End Sub
 
    Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim dropDownListIndex As String = DropDownList1.SelectedIndex.ToString()
 
 
        Label1.Text = "SelectedIndex: " + dropDownListIndex
 
    End Sub
End Class

shunman
Top achievements
Rank 1
 answered on 30 Aug 2011
3 answers
100 views

What I have set up is a RadComboBox with:

            AllowCustomText = true

            CheckBoxes = true

            EnableLoadOnDemand = true

            OnItemsRequested = MyFunctionToGetColumns
            Text="PreviouslySavedText"

Everything works as expected, except the input isn't filled with the Text value.
My workaround for now is to set the EmptyMessage to the PreviouslySavedText.  Is there a better way to set the text on load?


Thad
Top achievements
Rank 2
 answered on 29 Aug 2011
0 answers
92 views
Hi,

I am using RadComboBox that is loaded on demand using a web service:
<telerik:RadComboBox runat="server" ID="rcbPerson" Width="400px"  
            EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true"  Filter="Contains" OnClientSelectedIndexChanged="RefreshPerson"
            EmptyMessage="Type here ..." AllowCustomText="True" >
            <WebServiceSettings Path="Autocomplete.svc" Method="GetPersons" />
        </telerik:RadComboBox>

It works fine in the development environment, but becomes too slow (take 2-3 minutes) to load. The data is not much. I beleive I am missing something in the config file. Following is the "ServiceModel" section of the config file. It was working fine with the AutoCompleteExtender.
<system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
            </behavior>
          </serviceBehaviors>
            <endpointBehaviors>
                <behavior name="AjaxBehavior">
                    <enableWebScript/>
                </behavior>
            </endpointBehaviors>
        </behaviors>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
          <services>
              <service name="AeroCDB.Autocomplete">
                   <endpoint address="" behaviorConfiguration="AjaxBehavior"  bindingConfiguration="webHttpBindingConfig" binding="webHttpBinding" contract="AeroCDB.Autocomplete">
                </endpoint>
              </service>
          </services>
       <bindings>
      <webHttpBinding>
               <binding name="webHttpBindingConfig"
                      <security mode="TransportCredentialOnly">
                          <transport clientCredentialType="Windows"/>
                      </security>
          </binding>
            </webHttpBinding     
          </bindings>
      </system.serviceModel>
Amit
Top achievements
Rank 1
 asked on 29 Aug 2011
3 answers
80 views

Hi All,

My client had just updated to IE9 and they found an issue with the Scrolling TabStip: when they resize the IE window, all “hidden tab items” are pushed to second row. IE7/8 do not have this problem. We found similar issue can be reproduced on Telerik Demo page:

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/functionality/scrolling/defaultcs.aspx

is this can be solved?

 

Many thanks!

Gary Yu
Top achievements
Rank 1
 answered on 29 Aug 2011
2 answers
54 views
I am trying to include a gap at the trailing edge of the rotator much like the leading gap on the Live XML example. The rotator is a vertical scroll up. When the rotator first starts up there's a leading blank, or gap, that is about the height of the control itself. I am wondering how to do this for the trailing edge. I have constantly changing list, but the gap should just be as tall as the control height. (For background, I am rendering live scores and I only render an entrant once we have a score so the list grows over time to consist of the entire entry list).

Currently I have tried to "add" blank entries to the end on the client side event OnClientLoad, but this only causes the leading gap to disappear and forces the items to "jump" up and not scroll properly. 

var itemsinrotator = rot.getItemHtmlElements().length;
 
for (var i = 0; i < itemsinrotator; i++) {
    rot.addRotatorItem("<div height='64'> </div>", 0);
}


Please advise on the best way to accomplish a trailing gap and once that gap has fully rendered (i.e. the height of the control), then trigger the full rotation as outlined here: http://www.telerik.com/community/forums/aspnet-ajax/rotator/load-fresh-data-after-one-full-rotation.aspx

The format should look like this:

Leading Edge Gap (height of control)
....
List of items
....
Trailing Edge Gap (height of control)
trigger that the scroll is complete (http://www.telerik.com/community/forums/aspnet-ajax/rotator/load-fresh-data-after-one-full-rotation.aspx)
...
Repeat with new data

Thank you.

Regards,
George


George Mariakis
Top achievements
Rank 1
 answered on 29 Aug 2011
1 answer
81 views
I have a TreeList that displays data in a hierarchy and has got three columns and one of the column is editable. I want to have a single edit/update button on the top the TreeList (rather than havong edit/update button for each row), clicking on which will make the Entire TreeList editable and updatable.  Any help Appreciated. Thanks in Advance.
Gijo
Top achievements
Rank 1
 answered on 29 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?