Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
131 views
I have an ASP.NET 2.0 web application that was using RadAjaxManager and RadComboBox from Q3 2007. I recently upgraded those controls to the Q3 2008 version. The only code I had to change was with the Ajax components, which is why I put most post here and not in the combobox forum. I think my problem is an interaction with the updated Ajax components.

My problem is with a few RadComboBoxes. I had developed them as multi-select containing checkboxes. After the upgrade, the checkboxes appear, but the text of the checkbox item does not.

Here is the relavent page code and javascript that is attached to the RadComboBoxes. Thanks.

 

<script type="text/javascript">

 

 

function stopPropagation(e)

 

{

e.cancelBubble =

true;

 

 

 

if (e.stopPropagation)

 

{

e.stopPropagation();

}

}

 

var supressDropDownClosing = false;

 

 

 

function OnClientDropDownClosing(sender, eventArgs)

 

{

eventArgs.set_cancel(supressDropDownClosing);

}

 

 

function OnClientSelectedIndexChanging(sender, eventArgs)

 

{

eventArgs.set_cancel(supressDropDownClosing);

}

 

 

function OnClientDropDownOpening(sender, eventArgs)

 

{

supressDropDownClosing =

true;

 

}

 

 

function OnClientBlur(sender)

 

{

supressDropDownClosing =

false;

 

 

sender.toggleDropDown();

}

 

 

function checkboxClick()

 

{

collectSelectedItems();

}

 

 

function getItemCheckBox(item)

 

{

 

//Get the 'div' representing the current RadComboBox Item.

 

 

var itemDiv = item.get_element();

 

 

 

//Get the collection of all 'input' elements in the 'div' (which are contained in the Item).

 

 

var inputs = itemDiv.getElementsByTagName("input");

 

 

 

for (var inputIndex = 0; inputIndex < inputs.length; inputIndex++)

 

{

 

var input = inputs[inputIndex];

 

 

 

//Check the type of the current 'input' element.

 

 

if (input.type == "checkbox")

 

{

 

return input;

 

}

}

 

 

return null;

 

}

 

 

function collectSelectedItems()

 

{

 

var combo = $find("<%# ddlRace.ClientID %>");

 

 

var items = combo.get_items();

 

 

 

var selectedItemsTexts = "";

 

 

var selectedItemsValues = "";

 

 

 

var itemsCount = items.get_count();

 

 

 

for (var itemIndex = 0; itemIndex < itemsCount; itemIndex++)

 

{

 

var item = items.getItem(itemIndex);

 

 

 

var checkbox = getItemCheckBox(item);

 

 

 

//Check whether the Item's CheckBox) is checked.

 

 

if (checkbox.checked)

 

{

selectedItemsTexts += item.get_text() +

", ";

 

selectedItemsValues += item.get_value() +

", ";

 

}

}

selectedItemsTexts = selectedItemsTexts.substring(0, selectedItemsTexts.length - 2);

selectedItemsValues = selectedItemsValues.substring(0, selectedItemsValues.length - 2);

 

 

//Set the text of the RadComboBox with the texts of the selected Items, separated by ','.

 

combo.set_text(selectedItemsTexts);

 

//Set the comboValue hidden field value with values of the selected Items, separated by ','.

 

document.getElementById(

"comboValue").value = selectedItemsValues;

 

 

 

//Clear the selection that RadComboBox has made internally.

 

 

if (selectedItemsValues == "")

 

{

combo.clearSelection();

}

}

 

</script>

 

 

<script type="text/javascript">

 

 

function RequestStart(sender, args)

 

{

args.EventTargetElement.disabled =

true;

 

}

 

function ResponseEnd(sender, args)

 

{

args.EventTargetElement.disabled =

false;

 

}

 

</script>

 



 

 

<

 

input type="hidden" id="comboValue" value="" runat="server" />

 

 

 

 

 

<rad:RadComboBox ID="ddlRace" runat="server" Skin="Vista" Width="290px" AllowCustomText="True"

 

 

 

 

 

OnClientDropDownOpening="OnClientDropDownOpening" OnClientSelectedIndexChanging="OnClientSelectedIndexChanging"

 

 

 

 

 

OnClientBlur="OnClientBlur">

 

 

 

 

 

<Items>

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem7" runat="server" Text="Select..." Value="" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem8" runat="server" Text="Alaskan Native" Value="Alaskan Native" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem9" runat="server" Text="American Indian"

 

 

 

 

 

Value="American Indian" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem10" runat="server" Text="Asian" Value="Asian" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem11" runat="server" Text="Black or African American"

 

 

 

 

 

Value="Black or African American" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem12" runat="server" Text="Native Hawaiian/Other Pacific Islander"

 

 

 

 

 

Value="Native Hawaiian/Other Pacific Islander" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem13" runat="server" Text="White" Value="White" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem14" runat="server" Text="Hispanic/Latino"

 

 

 

 

 

Value="Hispanic/Latino" />

 

 

 

 

 

</Items>

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:CheckBox runat="server" ID="cbxRace" onclick="stopPropagation(event);" Text="" />

 

 

 

 

<%

# DataBinder.Eval(Container, "Text") %>

 

 

</ItemTemplate>

 

 

 

 

 

</rad:RadComboBox>

 

 

 



 

 

 

<input type="hidden" id="comboValue2" value="" runat="server" />

 

 

 

 

 

<rad:RadComboBox ID="ddlWorkSettings" runat="server" Skin="Vista" Width="290px" AllowCustomText="True"

 

 

 

 

 

OnClientDropDownOpening="OnClientDropDownOpening" OnClientSelectedIndexChanging="OnClientSelectedIndexChanging"

 

 

 

 

 

OnClientBlur="OnClientBlur">

 

 

 

 

 

<Items>

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem15" runat="server" Text="Select..." Value="" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem16" runat="server" Text="Academic Institution"

 

 

 

 

 

Value="Academic Institution" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem17" runat="server" Text="Government - Federal"

 

 

 

 

 

Value="Government - Federal" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem18" runat="server" Text="Government - State"

 

 

 

 

 

Value="Government - State" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem19" runat="server" Text="Government - Local"

 

 

 

 

 

Value="Government - Local" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem20" runat="server" Text="Government - Territory"

 

 

 

 

 

Value="Government - Territory" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem21" runat="server" Text="Government - Tribal"

 

 

 

 

 

Value="Government - Tribal" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem22" runat="server" Text="Healthcare Services"

 

 

 

 

 

Value="Healthcare Services" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem23" runat="server" Text="Non-profit Organization"

 

 

 

 

 

Value="Non-profit Organization" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem24" runat="server" Text="Private Industry"

 

 

 

 

 

Value="Private Industry" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem25" runat="server" Text="Other" Value="Other" />

 

 

 

 

 

</Items>

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:CheckBox ID="cbxWorkSettings" runat="server" onclick="stopPropagation(event);"

 

 

 

 

 

Text="" /><%# DataBinder.Eval(Container, "Text") %>

 

 

</ItemTemplate>

 

 

 

 

 

</rad:RadComboBox>

 

 

 


 

 

<input type="hidden" id="comboValue3" value="" runat="server" />

 

 

 

 

 

<rad:RadComboBox ID="ddlProfessionalRoles" runat="server" Skin="Vista" Width="290px"

 

 

 

 

 

AllowCustomText="True" OnClientDropDownOpening="OnClientDropDownOpening" OnClientSelectedIndexChanging="OnClientSelectedIndexChanging"

 

 

 

 

 

OnClientBlur="OnClientBlur">

 

 

 

 

 

<Items>

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem26" runat="server" Text="Select..." Value="" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem27" runat="server" Text="Allied Health Professional"

 

 

 

 

 

Value="Allied Health Professional" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem28" runat="server" Text="Administrator/Director/Manager"

 

 

 

 

 

Value="Administrator/Director/Manager" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem29" runat="server" Text="Administrative Support Staff"

 

 

 

 

 

Value="Administrative Support Staff" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem30" runat="server" Text="Computer Specialist"

 

 

 

 

 

Value="Computer Specialist" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem31" runat="server" Text="Epidemiologist/Biostatistician/Statistician"

 

 

 

 

 

Value="Epidemiologist/Biostatistician/Statistician" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem32" runat="server" Text="Emergency Responder"

 

 

 

 

 

Value="Emergency Responder" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem33" runat="server" Text="Faculty/Educator"

 

 

 

 

 

Value="Faculty/Educator" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem34" runat="server" Text="Environmental Health Specialist"

 

 

 

 

 

Value="Environmental Health Specialist" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem35" runat="server" Text="Health Educator"

 

 

 

 

 

Value="Health Educator" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem36" runat="server" Text="Informatician" Value="Informatician" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem37" runat="server" Text="Laboratory Professional"

 

 

 

 

 

Value="Laboratory Professional" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem38" runat="server" Text="Nurse" Value="Nurse" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem39" runat="server" Text="Physician" Value="Physician" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem40" runat="server" Text="Public Health Service Provider (non-clinical)"

 

 

 

 

 

Value="Public Health Service Provider (non-clinical)" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem41" runat="server" Text="Veterinarian" Value="Veterinarian" />

 

 

 

 

 

<rad:RadComboBoxItem ID="RadComboBoxItem42" runat="server" Text="Other" Value="Other" />

 

 

 

 

 

</Items>

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:CheckBox ID="cbxProfessionalRoles" runat="server" onclick="stopPropagation(event);"

 

 

 

 

 

Text="" /><%# DataBinder.Eval(Container, "Text") %>

 

 

</ItemTemplate>

 

 

 

 

 

</rad:RadComboBox>

 

 

 


Veselin Vasilev
Telerik team
 answered on 29 Oct 2009
3 answers
103 views
I have upgraded from RADcontrols 2006 to 2009.  The below code that used to work is no more working.  This code is for treeview in a combobox. once a node item is selected it supposed to be the show up on the radcombobox text. I am able to populate and navigate through treeview items but when a node is selected, the item is not being displayed as the selected item in combobox.

 <div onmousedown="allowCBClose(true);">
                    <radC:RadComboBox ID="ddlHierachy" runat="server" RadControlsDir="~/Resources/" Skin="WindowsGray"
                        SkinsPath="~/Resources/Skin/RadControls/ComboBox/Skins" Height="200px" NoWrap="True"
                        Width="80%" OnClientDropDownClosing="OnClientDropDownClosing" AllowCustomText="true"
                        EnableLoadOnDemand="true" OnItemsRequested="ItemsRequested" OnClientItemsRequested="OnClientItemsRequested"
                        OnClientKeyPressing="keypressing">
                        <ItemTemplate>
                            <div onmouseup="allowCBClose(false);">
                                <radT:RadTreeView ID="rtEventCycle" runat="server" BeforeClientClick="ProcessClientClick"
                                    AfterClientClick="ProcessClientClick">
                                </radT:RadTreeView>
                            </div>
                        </ItemTemplate>
                    </radC:RadComboBox>
                </div>
Can some one help me upgrade the code to the newer version of radcontrols in 2009. I changed radC to telerik. But it doesn't work and then it says BeforeClientClick and AfterClientClick are no more valid.
Schlurk
Top achievements
Rank 2
 answered on 29 Oct 2009
7 answers
178 views
Hello,

What I am trying to do is to have only one visible Upload at a time, selecting a file will result in hiding it and creating a new clean one - we are not actually hiding it, we are displaying it in a different GUI.

How can i do that? both client side and serverside (if ajax is used).
Genady Sergeev
Telerik team
 answered on 29 Oct 2009
7 answers
675 views
Hello,

I'm using a RadGrid like a listbox, with a ClientSelectColumn so the selection of the items cam be handled client side. I have enabled client selection and multi row selection. These work fine if the checkbox is the item clicked. If I select multiple items by clicking on the checkbox in the ClientSelectColumn and then select another row by clicking outside of the checkbox, the row I clicked in is selected and the checkbox for that row is checked, but all of the previously checked items are now unchecked. Why are the previously selected rows unselected when the row itself is clicked?

Thanks,
Casey

<telerik:RadGrid ID="RadGrid2" runat="server" AutoGenerateColumns="False"   
        GridLines="None" ShowHeader="False" DataSourceID="SqlDataSource2" 
        Height="100px" AllowMultiRowSelection="True">  
<MasterTableView CellSpacing="-1" ShowHeadersWhenNoRecords="False">  
    <Columns> 
    <telerik:GridClientSelectColumn UniqueName="column">  
    </telerik:GridClientSelectColumn> 
    <telerik:GridBoundColumn UniqueName="column1" DataField="DESCRIPTION"></telerik:GridBoundColumn> 
    <telerik:GridBoundColumn UniqueName="column2" DataField="ID" Visible="false"></telerik:GridBoundColumn> 
    </Columns> 
</MasterTableView> 
        <ClientSettings> 
            <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" /> 
            <Scrolling AllowScroll="True" /> 
        </ClientSettings> 
</telerik:RadGrid> 
Casey
Top achievements
Rank 1
 answered on 29 Oct 2009
1 answer
202 views
Hello,

I'm trying to use a RadEditor inside a Popup that is coming from a RadGrid. This is a part of my code:

    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> 
    <script type="text/javascript"> 
       var popUp; 
       function PopUpShowing(sender, eventArgs) 
       { 
            popUp = eventArgs.get_popUp(); 
            popUp.style.top = "50px"; 
       } 
    </script> 
    </telerik:RadCodeBlock> 
    <telerik:RadGrid ID="RadGrid1" AllowAutomaticUpdates="true" runat="server" AllowAutomaticInserts="True" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="dsNyheter" GridLines="None" Skin="Vista" MasterTableView-AllowFilteringByColumn="true" MasterTableView-AllowMultiColumnSorting="true" MasterTableView-AllowNaturalSort="true" MasterTableView-EditMode="PopUp" MasterTableView-HierarchyLoadMode="ServerOnDemand" PagerStyle-FirstPageToolTip="Första sidan" PagerStyle-LastPageToolTip="Sista sidan" PagerStyle-Mode="Slider" PagerStyle-NextPagesToolTip="Nästa sidorna" PagerStyle-NextPageToolTip="Nästa sida" PagerStyle-PageSizeLabelText="Rader per sida:" PagerStyle-PrevPagesToolTip="FöregÃ¥ende sidor" PagerStyle-PrevPageToolTip="FöregÃ¥ende sida" PagerStyle-PagerTextFormat="Ändra sida: {4} &nbsp;Sida <strong>{0}</strong> av <strong>{1}</strong>, rad <strong>{2}</strong> till <strong>{3}</strong> av <strong>{5}</strong>." StatusBarSettings-ReadyText="Redo" StatusBarSettings-LoadingText="Laddar..." SortingSettings-SortToolTip="Klicka här för att sortera" SortingSettings-SortedDescToolTip="Sorterad fallande" SortingSettings-SortedAscToolTip="Sorterad stigande" MasterTableView-NoMasterRecordsText="Data saknas." MasterTableView-NoDetailRecordsText="Inga underrader finns." GroupingSettings-GroupSplitDisplayFormat="Visar {0} av {1} rader." GroupingSettings-GroupContinuesFormatString="Gruppen fortsätter pÃ¥ nästa sida." GroupingSettings-GroupContinuedFormatString="... grupp fortsätter frÃ¥n föregÃ¥ende sida. " GroupingSettings-CollapseTooltip="SlÃ¥ ihop grupp" GroupingSettings-ExpandTooltip="Expandera grupp" GroupingSettings-UnGroupButtonTooltip="Klicka här för att avgruppera"> 
        <ClientSettings> 
            <ClientEvents OnPopUpShowing="PopUpShowing" /> 
            <Selecting AllowRowSelect="true" /> 
        </ClientSettings> 
        <MasterTableView DataKeyNames="news_id" DataSourceID="dsNyheter" AllowFilteringByColumn="True" AllowMultiColumnSorting="True" EditMode="PopUp" CommandItemDisplay="TopAndBottom"> 
            <CommandItemTemplate> 
                <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert"><img style="border:0px;vertical-align:middle; margin-top: 5px; margin-bottom: 8px; margin-left: 10px; margin-right: 8px;" alt="" src="Images/AddRecord.gif" />Lägg till nyhet</asp:LinkButton>&nbsp;&nbsp; 
            </CommandItemTemplate> 
            <Columns> 
                <telerik:GridBoundColumn DataField="news_id" HeaderText="ID" ReadOnly="true" Display="false" UniqueName="news_id"> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="news_headln" HeaderText="Rubrik" UniqueName="news_headln"> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="news_startdate" DataFormatString="{0:yyyy-MM-dd hh:mm}" HeaderText="Startdatum" UniqueName="news_startdate"> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="news_enddate" HeaderText="Slutdatum" UniqueName="news_enddate"> 
                </telerik:GridBoundColumn> 
                <telerik:GridEditCommandColumn CancelText="Avbryt" EditText="Ändra"> 
                </telerik:GridEditCommandColumn> 
            </Columns> 
            <EditFormSettings EditFormType="Template" CaptionDataField="news_headln" CaptionFormatString="Ändra nyhet: {0}"> 
            <PopUpSettings  Width="648px" Height="600px" Modal="true" /> 
                <EditColumn UniqueName="EditCommandColumn1">                    
                </EditColumn> 
                <FormTemplate> 
                    <table border="0" cellpadding="4" cellspacing="0"> 
                        <tr> 
                            <td style="padding-left: 8px;"> 
                                Rubrik 
                            </td> 
                            <td> 
                                Startdatum 
                            </td> 
                            <td> 
                                Slutdatum 
                            </td> 
                        </tr> 
                        <tr> 
                            <td style="padding-left: 8px;"> 
                                <asp:TextBox ID="news_headln" Text='<%# Bind("news_headln") %>' Width="300" runat="server"></asp:TextBox> 
                            </td> 
                            <td> 
                                <asp:TextBox ID="news_startdate" Text='<%# Bind("news_startdate") %>' Width="100" runat="server"></asp:TextBox> 
                            </td> 
                            <td> 
                                <asp:TextBox ID="news_enddate" Text='<%# Bind("news_enddate") %>' Width="100" runat="server"></asp:TextBox> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3" style="padding-left: 8px;"> 
                                InnehÃ¥ll 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3" style="padding-left: 8px;"> 
                                <telerik:RadEditor ID="RadEditor1" TableLayoutCssFile="~/Empty.css" Content='<%# Bind("news_content") %>' style="z-index: 90000;" Width="622" runat="server" Skin="Office2007" ToolsFile="ToolsFile.xml" SpellCheckSettings-DictionaryLanguage="sv-SE" ImageManager-ViewPaths="~/UserFiles/Image" ImageManager-UploadPaths="~/UserFiles/Image" ImageManager-SearchPatterns="*.gif,*.jpg,*.jpeg,*.png,*.bmp" DocumentManager-ViewPaths="~/UserFiles/File" DocumentManager-UploadPaths="~/UserFiles/File" ImageManager-DeletePaths="~/UserFiles/Image"> 
                                    <Languages> 
                                        <telerik:SpellCheckerLanguage Code="sv-SE" Title="Swedish" /> 
                                    </Languages> 
                                    <CssFiles> 
                                        <telerik:EditorCssFile Value="~/Admin/EditorContentArea.css" /> 
                                    </CssFiles> 
                                </telerik:RadEditor> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td colspan="3" style="padding-left: 8px;"> 
                                <asp:Button ID="btnUpdate" CommandName="Update" runat="server" Text="Spara" /> 
                                <asp:Button ID="btnUpdateCancel" CommandName="Cancel" runat="server" Text="Avbryt" /> 
                            </td> 
                        </tr> 
                    </table> 
                </FormTemplate> 
            </EditFormSettings> 
        </MasterTableView> 
        <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True"> 
            <Selecting AllowRowSelect="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 

The problem is that in Firefox, after reloading the page the RadEditor becomes disabled and loses it's text. This only happens in Firefox, in IE it works great.

Anyone know why this is happening?

Thanks,
Michael


Rumen
Telerik team
 answered on 29 Oct 2009
2 answers
97 views
Hi,

I have Rad ASP NET AJAX A1 2009 SP1. I run in Visual Studio 2005 and all controls works fine.(Example : RadGrid, RadPanelBar...)

But when i deployed on Local IIS 7, No controls are displaying. I don't know what went wrong. Its works well when i run in visual studio 2005 but on IIS its not. Even i am not getting any errors.

My operating System is Visa.

Please tell me what's the solutions to this problem.

Thanks.

Regards
Syed Arshad
Andrés Salinas
Top achievements
Rank 1
 answered on 29 Oct 2009
2 answers
183 views
I have a panelbar nested in a spliter.  I want the two panels to initially load as expanded and each using half of the available space, with the contents within each panel scrollable if necessary.  Right now, it shows both panes, and the entire panelbar is scrollable.

The attached file is a PDF screen print of how it looks now, but you should be able to get an idea of what it is that I'm trying to achieve.

My code looks like:

<telerik:RadSplitter ID="spltMain" Width="100%" Height="100%" runat="server">  
        <telerik:RadPane ID="paneMain" runat="server" Height="100%" Width="70%">  
            <telerik:RadPanelBar ID="pbarMain" runat="server" Width="100%" ExpandMode="MultipleExpandedItems">  
                <Items> 
                    <telerik:RadPanelItem Text="Dashboard" Font-Size="14px" ForeColor="White" Expanded="true" Height="50%">  
                        <ItemTemplate> 
                            <div style="margin: 0px 5px 0px 5px;">  
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here  
                            </div> 
                        </ItemTemplate> 
                    </telerik:RadPanelItem> 
                    <telerik:RadPanelItem Text="Most recently opened WO's" Font-Size="14px" ForeColor="White" Expanded="true" Height="50%">  
                        <ItemTemplate> 
                            <div style="margin: 0px 5px 0px 5px;">  
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here  
                            </div> 
                        </ItemTemplate> 
                    </telerik:RadPanelItem> 
                </Items> 
            </telerik:RadPanelBar> 
        </telerik:RadPane> 
        <telerik:RadPane ID="paneMsgArea" runat="server" Height="100%" Width="30%">  
            This should be the area where the emergency contact and messages will appear  
        </telerik:RadPane> 
</telerik:RadSplitter> 

Thanks in advance!
Steve
Steve LaForge
Top achievements
Rank 1
 answered on 29 Oct 2009
5 answers
237 views
We have a grid the user wants to use to export data.  Once the export is completed, we want to update a 'last exported date'.

I've tried putting code right after I call grid.MasterTable.ExportToExcel() which will perform this update, but the excel spreadsheet has the 'new' last export date instead of the old one.   I've tried putting code into the OnExcelMLExportRowCreated, but that's not doing what I want either.   we've also looked at the gridExporting event to try and get it to happen after the export actually gets the data from the database - but the ExportToExcel method seems to get data after this occurs as well.

So is there a way I can accomplish this (say a GridExported event) that I am just missing?
Sebastian
Telerik team
 answered on 29 Oct 2009
1 answer
154 views
I have change the rad menu item's group setting to flow=horizontal. But the child drop down still in vertical flow.

Can anyone help?

<

 

telerik:RadMenu ID="RadMenu" Runat="server" Skin="Web20" Width="100%">

 

 

<DefaultGroupSettings Flow="Horizontal" />

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

<GroupSettings Flow="Horizontal" />

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem2">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

<GroupSettings Flow="Horizontal" />

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem3">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

<GroupSettings Flow="Horizontal" />

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem4">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

</telerik:RadMenu>

 

 
Yana
Telerik team
 answered on 29 Oct 2009
8 answers
319 views
Hi

I am attaching a capture.jpg file in which a snap shot of rad grid is exist.

In the Attachment i have grid header alignment issue.
can any one gives a solution.

Thanks is advance.
Dimo
Telerik team
 answered on 29 Oct 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?