Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
156 views

Hi guys

I have some pages protected by form authientication. Most of the pages have a RadEditor within. I'm getting this error ONLY for pages protected by authentication.

Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

I tested removing the athentication for one of the pages where i'm getting the error and after this the error DISSAPEAR.
Could you help me with this ASAP please?
Thanks

Rumen
Telerik team
 answered on 17 Jul 2009
6 answers
306 views
I have the following Grid. When i click on the commanditem "Add New condition Group" in Master record or Add new condition to this group in Detail record, the entire row becomes empty.
Not sure what is causing this. Can someone help.


Thanks, in advance.

The following grid is within another grid as one of the column. In this grid i am setting datasource for the below grid.


<telerik:RadGrid ID="rgRuleConditionsGroup" runat="server" OnItemDataBound = "rgRuleConditionsGroup_ItemDataBound"
OnItemCommand="rgRuleConditionsGroup_ItemCommand" AutoGenerateColumns="False"
AutoGenerateDeleteColumn="True" Skin="Office2007">
<MasterTableView Name="RuleConditionGroups" DataKeyNames="accountRuleConditionGroupID"
ShowHeader="false" ShowHeadersWhenNoRecords="true" EditMode="InPlace"
CommandItemDisplay="Top" InsertItemDisplay="Bottom"
CommandItemSettings-AddNewRecordText="Add new condition group"
HierarchyDefaultExpanded="True" ExpandCollapseColumn-Display="False" >
<DetailTables>
<telerik:GridTableView Name="RuleConditions" DataKeyNames="accountRuleConditionID"
ShowHeader="False" ShowHeadersWhenNoRecords="True"
CommandItemDisplay="Top" InsertItemDisplay="Bottom"
CommandItemSettings-AddNewRecordText="Add new condition to this group" Width="100%">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="accountRuleConditionGroupID" MasterKeyField="accountRuleConditionGroupID" />
</ParentTableRelation>
<%--<CommandItemSettings AddNewRecordText="Add new condition to group"></CommandItemSettings>--%>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridTemplateColumn>
<ItemTemplate>
<telerik:RadComboBox ID="rcbJoinOperator" Runat="server" Skin="Vista" width="75">
<Items>
<telerik:RadComboBoxItem runat="server" Text="AND" Value="AND" />
<telerik:RadComboBoxItem runat="server" Text="OR" Value="OR" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcbJoinOperator" Runat="server" Skin="Vista" width="75">
<Items>
<telerik:RadComboBoxItem runat="server" Text="AND" Value="AND" />
<telerik:RadComboBoxItem runat="server" Text="OR" Value="OR" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<telerik:RadComboBox ID="rcbParameter1" AutoPostBack ="true" Runat="server" Width="100" Skin="Office2007" OnSelectedIndexChanged="rcbParameter1_SelectedIndexChanged">
<Items> 
<telerik:RadComboBoxItem runat="server" Text="1" Value="1" />
<telerik:RadComboBoxItem runat="server" Text="2" Value="2" />
<telerik:RadComboBoxItem runat="server" Text="3" Value="3" />
<telerik:RadComboBoxItem runat="server" Text="4" Value="4" />
<telerik:RadComboBoxItem runat="server" Text="5" Value="5" />
</Items>
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcbParameter1" AutoPostBack ="true" Runat="server" Width="100" Skin="Office2007" OnSelectedIndexChanged="rcbParameter1_SelectedIndexChanged">
<Items>
<telerik:RadComboBoxItem runat="server" Text="1" Value="1" />
<telerik:RadComboBoxItem runat="server" Text="2" Value="2" />
<telerik:RadComboBoxItem runat="server" Text="3" Value="3" />
<telerik:RadComboBoxItem runat="server" Text="4" Value="4" />
<telerik:RadComboBoxItem runat="server" Text="5" Value="5" />
</Items>
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<telerik:RadComboBox ID="rcbParameterDP1" Runat="server" Width="150" Skin="Office2007" DataValueField="accountRuleParameterID" DataTextField="ParameterDisplayName">
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcbParameterDP1" Runat="server" Width="150" Skin="Office2007" DataValueField="accountRuleParameterID" DataTextField="ParameterDisplayName">
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn
SortExpression="ConditionOperator" UniqueName="ConditionOperator"
DataField="conditionOperator">
<ItemTemplate>
<telerik:RadComboBox ID="rcbConditionOperator" Runat="server" Width="100" Skin="Office2007">
<Items>
<telerik:RadComboBoxItem runat="server" Text="Equal To" Value="Equals" />
<telerik:RadComboBoxItem runat="server" Text="Not Equal To" Value="NotEquals" />
<telerik:RadComboBoxItem runat="server" Text="Greater Than"
Value="GreaterThan" />
<telerik:RadComboBoxItem runat="server" Text="Less Than" Value="LessThan" />
<telerik:RadComboBoxItem runat="server" Text="Greater Than Or Equal To"
Value="GreaterThanOrEquals" />
<telerik:RadComboBoxItem runat="server" Text="Less Than Or Equal To"
Value="LessThanOrEquals" />
<telerik:RadComboBoxItem runat="server" Text="Is In" Value="In" />
<telerik:RadComboBoxItem runat="server" Text="Is Not In" Value="NotIn" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcbConditionOperator" Runat="server" Width="100" Skin="Office2007">
<Items>
<telerik:RadComboBoxItem runat="server" Text="Equal To" Value="Equals" />
<telerik:RadComboBoxItem runat="server" Text="Not Equal To" Value="NotEquals" />
<telerik:RadComboBoxItem runat="server" Text="Greater Than"
Value="GreaterThan" />
<telerik:RadComboBoxItem runat="server" Text="Less Than" Value="LessThan" />
<telerik:RadComboBoxItem runat="server" Text="Greater Than Or Equal To"
Value="GreaterThanOrEquals" />
<telerik:RadComboBoxItem runat="server" Text="Less Than Or Equal To"
Value="LessThanOrEquals" />
<telerik:RadComboBoxItem runat="server" Text="Is In" Value="In" />
<telerik:RadComboBoxItem runat="server" Text="Is Not In" Value="NotIn" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<telerik:RadComboBox ID="rcbParameter2" AutoPostBack="true" Runat="server" Width="100" Skin="Office2007" OnSelectedIndexChanged="rcbParameter2_SelectedIndexChanged">
<Items> 
<telerik:RadComboBoxItem runat="server" Text="1" Value="1" />
<telerik:RadComboBoxItem runat="server" Text="2" Value="2" />
<telerik:RadComboBoxItem runat="server" Text="3" Value="3" />
<telerik:RadComboBoxItem runat="server" Text="4" Value="4" />
<telerik:RadComboBoxItem runat="server" Text="5" Value="5" />
</Items>
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcbParameter2" AutoPostBack="true" Runat="server" Width="100" Skin="Office2007" OnSelectedIndexChanged="rcbParameter2_SelectedIndexChanged">
<Items> 
<telerik:RadComboBoxItem runat="server" Text="1" Value="1" />
<telerik:RadComboBoxItem runat="server" Text="2" Value="2" />
<telerik:RadComboBoxItem runat="server" Text="3" Value="3" />
<telerik:RadComboBoxItem runat="server" Text="4" Value="4" />
<telerik:RadComboBoxItem runat="server" Text="5" Value="5" />
</Items>
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<telerik:RadComboBox ID="rcbParameterDP2" Runat="server" Width="150" Skin="Office2007" AllowCustomText="True" DataValueField="accountRuleParameterID" DataTextField="ParameterDisplayName">
</telerik:RadComboBox>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox ID="rcbParameterDP2" Runat="server" Width="150" Skin="Office2007" AllowCustomText="True" DataValueField="accountRuleParameterID" DataTextField="ParameterDisplayName">
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="accountRuleConditionID" UniqueName="AccountRuleConditionID" Visible="false" />
<telerik:GridBoundColumn DataField="accountRuleConditionGroupID" UniqueName="AccountRuleConditionGroupID" Visible="false" />
<telerik:GridBoundColumn DataField="accountRuleAlertID" UniqueName="AccountRuleAlertID" Visible="false" />
<telerik:GridBoundColumn DataField="sequenceNum" UniqueName="SequenceNum" Visible="false" />
</Columns>
</telerik:GridTableView>
</DetailTables>
<CommandItemSettings AddNewRecordText="Add new condition group"></CommandItemSettings>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="True" Display="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridTemplateColumn
SortExpression="JoinOperator" UniqueName="JoinOperator"
DataField="joinOperator">
<ItemTemplate>
<telerik:RadComboBox ID="rcbJoinOperator" Runat="server" Skin="Vista" width="75">
<Items>
<telerik:RadComboBoxItem runat="server" Text="AND" Value="AND" />
<telerik:RadComboBoxItem runat="server" Text="OR" Value="OR" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>

<FilterMenu Skin="Office2007" EnableTheming="True">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2009
1 answer
202 views
Is it possible to create a set of CSS classes to define a column's width and alignment to use with different data types such as buttons, currency, numbers, and checkboxes.

Thanks,
Rich
Princy
Top achievements
Rank 2
 answered on 17 Jul 2009
1 answer
175 views
I retrieve data and bind it to my RadGrid. Rather then showing foreign key values (such as 1, 2, 3 etc.), i wantto show the names of data on my RadGrid. Thus i add  a DropDownList in my RadGrid's GridTemplateColumn as follows. While selecting and showing the names(name field) of   foreign key values ( 1, 2, 3 etc.), there is no problem. But when i update it there is no change.

<

telerik:GridTemplateColumn HeaderText = "Donem" DataField="DonemId" UniqueName = "DonemId" DataType="System.Int16" SortExpression = "DonemId" >

 

 

<ItemTemplate>

 

 

<asp:DropDownList ID="ddlDonem" runat="server" DataSourceID = "LLBLGenProDataSource22Donem" DataTextField = "DonemAdi" DataValueField = "DonemId" SelectedValue='<%# Bind("DonemId") %>' >

 

 

</asp:DropDownList>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

Here is the full code:

 

<%

@ Control Language="C#" Inherits="Toys.Modules.Tahakkuk.ViewToysTahakkuk"

 

 

 

 

AutoEventWireup="true" CodeBehind="ViewToysTahakkuk.ascx.cs" %>

 

<%

@ Register assembly="Telerik.Web.UI, Version=2009.1.527.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

<%

@ Register assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20" namespace="SD.LLBLGen.Pro.ORMSupportClasses" tagprefix="llblgenpro" %>

 

 

 

 

<

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

<

AjaxSettings>

 

<

telerik:AjaxSetting AjaxControlID ="RadGridHizmetler" >

 

<

UpdatedControls>

 

<

telerik:AjaxUpdatedControl ControlID ="RadGridHizmetler"/>

 

</

UpdatedControls>

 

</

telerik:AjaxSetting>

 

</

AjaxSettings>

 

</

telerik:RadAjaxManager>

 

<

telerik:RadGrid ID="RadGridHizmetler" runat="server"

 

 

AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes = "true"

 

 

 

 

AllowFilteringByColumn="True" AllowMultiRowSelection="True" AllowPaging="True"

 

 

AllowSorting="True" AutoGenerateColumns="False"

 

 

DataSourceID="LLBLGenProDataSource21" GridLines="None"

 

 

onitemupdated="RadGridHizmetler_ItemUpdated"

 

 

onneeddatasource="RadGridHizmetler_NeedDataSource"

 

 

onupdatecommand="RadGridHizmetler_UpdateCommand" ShowFooter="True"

 

 

ShowGroupPanel="True" ShowStatusBar="True"

 

 

ondeletecommand="RadGridHizmetler_DeleteCommand" >

 

<

MasterTableView datasourceid="LLBLGenProDataSource21" CommandItemDisplay = "Top"

 

 

 

DataKeyNames

="HizmetId" EditMode ="InPlace" RetrieveDataTypeFromFirstItem = "true" >

 

<

RowIndicatorColumn>

 

<

HeaderStyle Width="20px"></HeaderStyle>

 

</

RowIndicatorColumn>

 

<

ExpandCollapseColumn>

 

<

HeaderStyle Width="20px"></HeaderStyle>

 

</

ExpandCollapseColumn>

 

<

Columns>

 

<

telerik:GridEditCommandColumn UniqueName="EditCommandColumn">

 

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

<telerik:GridBoundColumn DataField="HizmetId" DataType="System.Int16"

 

 

HeaderText="HizmetId" SortExpression="HizmetId" UniqueName="HizmetId">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="KisaKodu"

 

 

HeaderText="KisaKodu" SortExpression="KisaKodu" UniqueName="KisaKodu">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="HizmetAdi"

 

 

HeaderText="HizmetAdi" SortExpression="HizmetAdi" UniqueName="HizmetAdi">

 

 

 

 

</telerik:GridBoundColumn>

 

 

 

 

<telerik:GridTemplateColumn HeaderText = "Donem" DataField="DonemId" UniqueName = "DonemId" DataType="System.Int16" SortExpression = "DonemId" >

 

 

 

 

<ItemTemplate>

 

 

<asp:DropDownList ID="ddlDonem" runat="server" DataSourceID = "LLBLGenProDataSource22Donem" DataTextField = "DonemAdi" DataValueField = "DonemId" SelectedValue='<%# Bind("DonemId") %>' >

 

 

 

 

</asp:DropDownList>

 

 

 

 

</ItemTemplate>

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridBoundColumn DataField="Tutar" DataType="System.Decimal"

 

 

HeaderText="Tutar" SortExpression="Tutar" UniqueName="Tutar">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="TutarDegisiklikEh" DataType="System.Boolean"

 

 

HeaderText="TutarDegisiklikEh" SortExpression="TutarDegisiklikEh"

 

 

 

UniqueName

="TutarDegisiklikEh">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Adet" DataType="System.Int32"

 

 

HeaderText="Adet" SortExpression="Adet" UniqueName="Adet">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AdetDegisiklikEh" DataType="System.Boolean"

 

 

HeaderText="AdetDegisiklikEh" SortExpression="AdetDegisiklikEh"

 

 

 

UniqueName

="AdetDegisiklikEh">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="GecikmeFaiziEh" DataType="System.Boolean"

 

 

HeaderText="GecikmeFaiziEh" SortExpression="GecikmeFaiziEh" UniqueName="GecikmeFaiziEh">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="GecikmeZammiEh" DataType="System.Boolean"

 

 

HeaderText="GecikmeZammiEh" SortExpression="GecikmeZammiEh" UniqueName="GecikmeZammiEh">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="HesapId" DataType="System.Int16"

 

 

HeaderText="HesapId" SortExpression="HesapId" UniqueName="HesapId">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="HizmetTipi" DataType="System.Int16"

 

 

HeaderText="HizmetTipi" SortExpression="HizmetTipi" UniqueName="HizmetTipi">

 

 

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="AidatTipi" DataType="System.Int16"

 

 

HeaderText="AidatTipi" SortExpression="AidatTipi" UniqueName="AidatTipi">

 

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridButtonColumn UniqueName="DeleteColumn" Text="Delete" CommandName="Delete" />

 

 

 

 

 

 

</

Columns>

 

<

EditFormSettings>

 

<

EditColumn UniqueName = "EditCommandColumnH">

 

</

EditColumn>

 

</

EditFormSettings>

 

</

MasterTableView>

 

 

 

 

<ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True"

 

 

AllowRowsDragDrop="True">

 

 

 

 

<Selecting AllowRowSelect ="true" EnableDragToSelectRows ="true"/>

 

 

 

 

</ClientSettings>

 

</

telerik:RadGrid>

 

<

llblgenpro:LLBLGenProDataSource2 ID="LLBLGenProDataSource21" runat="server"

 

 

AdapterTypeName="Toys.Data.Mali.DatabaseSpecific.DataAccessAdapter, Toys.Data.MaliDBSpecific"

 

 

AllowDuplicates="False" DataContainerType="EntityCollection"

 

 

EnablePaging="True"

 

 

 

EntityFactoryTypeName="Toys.Data.Mali.FactoryClasses.HizmetEntityFactory, Toys.Data.Mali"

 

 

onperformgetdbcount="LLBLGenProDataSource21_PerformGetDbCount1"

 

 

onperformselect="LLBLGenProDataSource21_PerformSelect"

 

 

onperformwork="LLBLGenProDataSource21_PerformWork" >

 

 

 

 

 

 

 

</

llblgenpro:LLBLGenProDataSource2>

 

 

 

 

 

<

llblgenpro:LLBLGenProDataSource2 ID="LLBLGenProDataSource22Donem"

 

 

runat="server" AllowDuplicates="False"

 

 

 

 

AdapterTypeName="Toys.Data.Mali.DatabaseSpecific.DataAccessAdapter, Toys.Data.MaliDBSpecific"

 

 

DataContainerType="EntityCollection"

 

 

EntityFactoryTypeName="Toys.Data.Mali.FactoryClasses.DonemEntityFactory, Toys.Data.Mali">

 

</

llblgenpro:LLBLGenProDataSource2>

 

 

 

Thanks in advance...

Rosen
Telerik team
 answered on 17 Jul 2009
2 answers
126 views
Hi,

I have radgrid with MultirowsSeletion = "True" how can I get the selected rows value of a unique value in javascript?

Thanks in advance
Medac
Medac
Top achievements
Rank 1
 answered on 17 Jul 2009
1 answer
184 views
Hi,

I have Autogenerated rad grid wherein i have implemented Footer feature. On load by default I am sorting on balance column. But after that If i click on any column sorting is not happening. I have added AllowSoting="True" in the rad grid.

Can anyone help in this?

Regards,
Medac
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2009
6 answers
185 views
Hello,

I installed RadEditor for MOSS and RadControls for ASP.NET AJAX two days back. My main intention is to use RadEditor for my MOSS sites mainly for giving additional editor to my users for editing and publishing content. I have downloaded the trial version, and installation took place just fine. I have activated both the features viz. Using RadEditor to edit HTML Fields and Using RadEditor to edit ListItems. But I can't seem to use it no matter what I try. Here are few of my listed problems:

1.  When I add the telerik MOSS RadEditor webpart on a page, I do not see any editor controls for that webpart in IE (am using IE 7), but in firefox I do see them, three tabs in lower left corner called Design, HTML, Preview, but none of them works, I click on them, but nothing happens only in the status bar I keep seeing Javascript:Void(0); Isn't RadEditor compatible to IE??

2. In the list items, if I add/edit any item, I am able to see the entire RadEditor, but the body text area and all the editor controls are again disabled, so can't really do anything with them. This is atleast that I can see both in IE and Firefox.

Am I missing any settings here? I have installed the msi for the RadControls, and then added and deployed the solution file for MOSS RadEditor. Also added the dll and Rad Publishing control in one of the layout pages for the content management scenario. Please can somebody help me out of it, I really want to use it but can't seem to find how.
Priyanka Lachhwani
Top achievements
Rank 1
 answered on 17 Jul 2009
1 answer
172 views
any idea why the following throws a System.ArgumentException: Parameter is not valid.? basically, I have a grid, that when I click on the thumbnail, opens a radwindow which loads a page with the below code to generate a radrotator with a radbinary as an inner control. (first few lines are just retrieving the binary image data from the database, in this case sql server 2008, using the enterprise library.)
if (!string.IsNullOrEmpty(Request.QueryString["productID"])) 
            { 
                Database db = DatabaseFactory.CreateDatabase("sql"); 
                DbCommand mycommand = db.GetSqlStringCommand("SELECT mediaID,imageFull FROM core.productMedia WHERE (productID = @productID AND active=1 AND removed=0)"); 
                db.AddInParameter(mycommand, "productID", DbType.Int32, Request.QueryString["productID"]); 
                DataTable mytable = db.ExecuteDataSet(mycommand).Tables[0]; 
                Debug.WriteLine("number of media " + mytable.Rows.Count.ToString()); 
                if (mytable.Rows.Count > 0) 
                { 
                    RadRotator myrot = new RadRotator(); 
                     
 
                    foreach (DataRow myrow in mytable.Rows) 
                    { 
                        RadBinaryImage myimg = new RadBinaryImage(); 
                        myimg.DataValue = (byte[])myrow[1]; 
                        Debug.WriteLine("media " + myrow[0].ToString()); 
                        RadRotatorItem myitem = new RadRotatorItem(); 
                        myitem.Controls.Add(myimg); 
                        myrot.Items.Add(myitem); 
 
                    } 
                    Panel1.Controls.Add(myrot); 
                } 
            } 

Growls
Top achievements
Rank 1
 answered on 17 Jul 2009
8 answers
133 views
I have a RadComboBox that is in a Panel. The panel is set to visible=false onload. If the user checks a check box the panel is set to visible=true with Ajax. The first time this happens everything is fine, they can show it and hide it and it works. When they try to show it a second time the dropdown arrow is missing and all style appears to be gone. This ComboBox is not added dynamically it is always there on the page.

I have Ajax on the check box to show/hide the panel, if I remove that it works fine. 

<asp:Panel ID="Panel3" runat="server">
   <telerik:RadComboBox ID="rcbAirline" runat="server" Height="190px" Width="75px"
          DataTextField="Code" DropDownWidth="320" OnItemsRequested="AirlineCode_ItemsRequested">
      <HeaderTemplate>
        ......
      </HeaderTemplate>
      <ItemTemplate>
        ......
      </ItemTemplate>
   </telerik:RadComboBox>
</asp:Panel>


<telerik:AjaxSetting AjaxControlID="cbShowClaim">
  <UpdatedControls>
   <telerik:AjaxUpdatedControl ControlID="Panel3" LoadingPanelID="LoadingPanel_FormTable"/>
  </UpdatedControls>
</telerik:AjaxSetting>

I have looked at other posts but didn't see anything that solved my problem. Thanks!

jgig
Top achievements
Rank 1
 answered on 17 Jul 2009
4 answers
181 views
Hi, I have a RadWindow:
<radW:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Office2007">  
   <Windows> 
      <radW:RadWindow ID="RadWindow1" runat="server" Left="" NavigateUrl="" SkinsPath="~/RadControls/Window/Skins" 
         Title="" Top="" /> 
   </Windows> 
</radW:RadWindowManager> 
It contains an aspx page:
RadWindow1.NavigateUrl = "~/Pages/PlotManagerWindow.aspx"; 
There is an User Control - myUC in the aspx page. And in myUC, there is an RadioButtonList.

My question is how can I maximize RadWindow when user click the RadioButtonList?

I have tried multi ways, add following code to myUC:
<script type="text/javascript">  
   function ExecuteWindowCommand()  
   {  
      var oWnd = GetSelectedWindow();  
      oWnd.Maximize();  
   }  
 
   function GetSelectedWindow()  
   {  
      var oManager = GetRadWindowManager();  
      return oManager.GetActiveWindow();  
   }  
</script> 
But it seems like GetSelectedWindow() can't find RadWindow, so return null.

And also this task can't be done from code-behind.

Any help is appreciated.
YongGang Che
Top achievements
Rank 1
 answered on 17 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?