Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
141 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
40 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
295 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
160 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
101 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
127 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
96 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
70 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
1 answer
68 views
I have a page (currently local only, not live yet, alas) that I recently dropped some advertising in to (BanManPro). After I do that, the RadMenu that I previously had working just fine is no longer firing the OnItemClick event. Has anyone ever seen the two products work together?

Thanks,
Chris
Chris
Top achievements
Rank 1
 answered on 26 Apr 2011
1 answer
112 views
Hello  , I'm Al-Shawamreh Mohammad

I Developed some web projects using Telerik Ajax 2010 Q2 components and work fine (on my PC)
but when i`m copy the project to my laptop and start debugging the page , the page appear in the browser but nothing work !!
it`s appear like a photo , no actions ..

Thanks

Prangadj
Top achievements
Rank 1
 answered on 26 Apr 2011
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?