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

I have implemented one drop down in the Grid , and this drop down contain the values with check box, so that user can select multiple value from drop down, and i want to save once i lost the focus from this drop down, and the selected values are displayed in the other column of the same grid..

Let me know how can i do this?

Regards
samir
Shinu
Top achievements
Rank 2
 answered on 27 Apr 2011
1 answer
144 views
Hi,

I have a VB.net web application with a RadInputManager validation on 2 fields (email address & password). Both these fields must be completed.

<asp:TextBox ID="txtEMail" MaxLength="100" runat="server" Width="250px" />
<asp:TextBox ID="txtPassword" MaxLength="50" runat="server" Width="250px" TextMode="Password" />
 
<asp:Button ID="cmdLogin" runat="server" Text="Login" />
  
    <telerik:RadInputManager ID="RadScreenValidator" runat="server">
        <telerik:TextBoxSetting BehaviorID="IsRequired" Validation-IsRequired="true">
            <TargetControls>
                <telerik:TargetInput ControlID="txtPassword" />
            </TargetControls>
        </telerik:TextBoxSetting>
        <telerik:RegExpTextBoxSetting BehaviorID="ValidateEMail" Validation-IsRequired="true" ValidationExpression="^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$">
            <TargetControls>
                <telerik:TargetInput ControlID="txtEMail" />
            </TargetControls>
        </telerik:RegExpTextBoxSetting>
    </telerik:RadInputManager>

When the user click on the login button, I check if the email address supplied is in fact of a valid domain using DNS lookup.

How do I return to the RadInputManage that the validation failed as I dont use any Error messages but rather the yellow warning sign error indicator on the textbox itself.

Keep in mind that if the email is correctly confirmed in the database & the password is wrong, I just want to warn the user regarding the password not the email address also.

Thanx
Maria Ilieva
Telerik team
 answered on 27 Apr 2011
2 answers
120 views

I am implementing a Silverlight application with combination of Silverlight controls and ASP.net user controls on same aspx page.

One pane (left pane) is reserved for Silverlight controls and other pane is for ASPX controls (right pane).  Right pane will be containing multiple user control based on inputs from Silverlight application.

 

Initially there won’t be any user controls on my page and only Silverlight controls (left pane) will capture whole area of the page. When request comes from Silverlight application, I do want to create a user control dynamically using RAD controls.

 

To achieve it, I am creating a RAD Pane (right pane) and this pane will contain a RAD sliding zone, within RAD sliding zone there will be multiple RAD sliding panes. Each sliding pane will contain one user control in it.

 

 

This way I want to place user control on different sliding panes based on request from Silverlight application dynamically.

I am having RAD control for ASPX (Ajax) and want to create multiple panes and placing user control on respective pane. I want to show only one user control at a time and other can be in hidden mode until user selects tab option to show one of the hidden controls.

 

Please help me how to create these sliding zones and sliding panes dynamically in OnInit override method.

sanyog
Top achievements
Rank 1
 answered on 27 Apr 2011
1 answer
28 views
Some time controls not rendering correctly, i don't know why and how...

At all computer(20-30) of a lab have this problem while on other computers rendering correctly.. Its very critical... please help me...

for issue see attached images
Niko
Telerik team
 answered on 27 Apr 2011
1 answer
254 views
Hello,
in my RadListView, in Edit Mode, I added an imagebutton which allow me (in the code behind), to change and then save data coming from a RadListView.
After this change and save, I want to reload data in the RadListView and exit the Edit mode.

How can I fire an event which bring me up to the "normal" mode, exiting the exit mode (using VB?)

Thanks in advance and best regards
Iana Tsolova
Telerik team
 answered on 27 Apr 2011
1 answer
137 views

Hi all

I use a RadComboBox which contans a RadGrid in itemTemplate,when user type a word in ComboBox, this error raised:
 "Script control 'gv_supplier' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl".

how can I fix it?

<telerik:RadComboBox ID="RadComboBox1" runat="server" DropDownWidth="300px" EmptyMessage="select..."
            EnableLoadOnDemand="True" HighlightTemplatedItems="True" ItemRequestTimeout="10" >
            <Items>
                <telerik:radcomboboxitem selected="true" />
            </Items>
            <ItemTemplate>
                <telerik:RadGrid ID="gv_supplier" runat="server" GridLines="None" Skin="Vista" Width="100%"
                    AllowSorting="True" AutoGenerateColumns="False" ShowFooter="True">
                    <AlternatingItemStyle BackColor="#a7bcdb" />
                    <MasterTableView AllowSorting="True" DataKeyNames="supplier_kind_id" Dir="RTL" Font-Names="Tahoma"
                        HeaderStyle-HorizontalAlign="Center" HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                         ClientDataKeyNames="supplier_kind_id,supplier_kind_code" >
                        <CommandItemSettings ShowAddNewRecordButton="false" />
                        <Columns>
                            <telerik:GridTemplateColumn UniqueName="col_row_number" HeaderText="row">
                                <ItemTemplate>
                                    <asp:Label ID="numberLabel" runat="server" Width="30px" />
                                </ItemTemplate>
                                <HeaderStyle Width="30px" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="supplier_kind_id" UniqueName="supplier_kind_id"
                                Visible="false">
                                <ItemTemplate>
                                    <asp:Label ID="lbl_supplier_kind_id" runat="server" Text='<%# Bind("supplier_kind_id") %>' />
                                </ItemTemplate>
                                <HeaderStyle Width="50px" />
                                <ItemStyle Width="50px" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn DataField="supplier_kind_code" EmptyDataText="----" HeaderText="code"
                                ReadOnly="True" Resizable="true" UniqueName="supplier_kind_code">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="supplier_kind_name" EmptyDataText="----" HeaderText="name"
                                Resizable="true" UniqueName="supplier_kind_name">
                            </telerik:GridBoundColumn>
                        </Columns>
                        <NoRecordsTemplate>
                            nothing to displaye.
                        </NoRecordsTemplate>
                        <RowIndicatorColumn>
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </RowIndicatorColumn>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" />
                    </MasterTableView>
                    <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="true">
                        <Resizing AllowColumnResize="True" ResizeGridOnColumnResize="false" />
                        <Selecting AllowRowSelect="True" />
                        <ClientEvents OnRowSelected="onRowSelected" />
                    </ClientSettings>
                </telerik:RadGrid>
            </ItemTemplate>
            <FooterTemplate>
              
            </FooterTemplate>
        </telerik:RadComboBox>

<telerik:radcodeblock id="codeBlock" runat="server">   
    <script type="text/javascript">   
    
       function onRowSelected(sender, args)    
        {   
            var selectedText = args.getDataKeyValue("supplier_kind_code");   
            var selectedValue = args.getDataKeyValue("supplier_kind_id");
  
            var combo = $find("RadComboBox1");
  
            setTimeout(
                        function() 
                        {
                            combo.set_text(selectedText);
                            combo.set_value(selectedValue);
                        }
                       , 50);
  
        }
  
             
    </script>  
</telerik:radcodeblock>
Shinu
Top achievements
Rank 2
 answered on 27 Apr 2011
4 answers
75 views
Hi,

I want to display image in my grid and I'm following this demo "BinaryImage / Binary Images and Upload in Grid", I need to disable validation while editing, I'm not able to reach GridBinaryImageColumn, I need this because clients my try to update ImageName or Description only but validation control not allowing this ..

any ideas how to do that?

Regards,
Owidat
Top achievements
Rank 2
 answered on 27 Apr 2011
1 answer
94 views
Hello guys.

I have a RadTextBox that I set the CssClass field, but it doesn't take the style. I tryed with a simple textbox and it works fine. What's the problem?

<telerik:RadTextBox ID="txt1" Runat="server" CssClass="TxtShortText" 
            Height="70px" TextMode="MultiLine" Width="450px">
        </telerik:RadTextBox>

cssClass
.TxtShortText
{
    font-size:x-large;    
}

Regards.
Princy
Top achievements
Rank 2
 answered on 27 Apr 2011
1 answer
70 views
Hi ,

Can somebody help me get the client Id of text box in edititemtemplate?

Thanks,
Ron.
Princy
Top achievements
Rank 2
 answered on 27 Apr 2011
2 answers
52 views
Hi all,

Have anyone has the above problem in the Title?
I have tested both in firefox 3.6.16 and ie8.
latest telerik web ui assembly 2011.1.413.35

both my version where I follow the tutorial and the version I drag from the courseware/navigation/multipage folder.
they both do not change preset color when I change the preset from the context menu.

the presets are populated OK though from the context menu.

thanks.
William
Top achievements
Rank 1
 answered on 27 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?