Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
Is it possible to move GridGroupPanel.
For example between Header and GridCommandItem.
Coola
Top achievements
Rank 1
 answered on 30 Oct 2012
2 answers
151 views
Design of rad upload and progress area is messed up after partial page load.

Below is the page markup.
<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />
<div id="ImageGallery_MainDiv">
    <telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server" EnableSkinTransparency="true" Skin="Default">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" HorizontalAlign="NotSet" LoadingPanelID="LoadingPanel" Width="672px"
        Height="610px" ClientEvents-OnResponseEnd="mb_ManageBase_ImageGallery_SetInterface">
        <asp:HiddenField ID="hfGalleryID" runat="server" Value="0" />
        <asp:HiddenField ID="hfContentItemID" runat="server" Value="0" />
        <ModuleControls:MessageNotification ID="Notification" runat="server" MessageMode="Success">
        </ModuleControls:MessageNotification>
        <%----%>
        <ModuleControls:ConfigurationDockLayout ID="RadDockLayout1" runat="server">
            <ModuleControls:ConfigurationDockZone ID="RadDockZone1" runat="server">
                <telerik:RadDock ID="GalleryEditConfigurationArea" runat="server" Title="ManageBase Gallery" DockMode="Docked" Collapsed="True"
                    DefaultCommands="ExpandCollapse" EnableRoundedCorners="true" EnableAnimation="True" Index="0" Tag="" EnableDrag="false">
                    <Commands>
                        <telerik:DockExpandCollapseCommand />
                        <telerik:DockToggleCommand AutoPostBack="true" CssClass="RadDockCustomSaveCommand" AlternateCssClass="RadDockCustomSaveCommandHover"
                            Name="CommandSaveGallery" />
                        <telerik:DockToggleCommand AutoPostBack="true" CssClass="RadDockCustominfoCommand" AlternateCssClass="RadDockCustomInfoCommandHover"
                            Name="Info" />
                    </Commands>
                    <ContentTemplate>
                        <table border="0" cellpadding="2" cellspacing="6" width="98%">
                            <tr>
                                <td>
                                    <asp:Label ID="ltrSelectGallery" runat="server" Text="Administrera"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="ltrGalleryName" runat="server" Text="Gallery-namn"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="ltrGallerystill" runat="server" Text="Gallery still"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <GalleryControl:ImageGalleryDropDown ID="ddlImageGallerys" runat="server" EmptyMessage="Välj Galleri" AutoPostBack="True"
                                        Font-Names="Arial" ForeColor="#666666" Font-Size="14px" Width="180px">
                                    </GalleryControl:ImageGalleryDropDown>
                                </td>
                                <td>
                                    <telerik:RadTextBox runat="server" ID="txtGalleryName" Columns="23" Skin="Default" Font-Names="Arial" ForeColor="#666666"
                                        Font-Size="14px" Width="180px">
                                    </telerik:RadTextBox>
                                </td>
                                <td>
                                    <GalleryControl:GelleryViewTypeDropDown ID="ddlGalleryPreviewType" runat="server" EmptyMessage="Välj still" AutoPostBack="True"
                                        Font-Names="Arial" ForeColor="#666666" Font-Size="14px" Width="180px">
                                    </GalleryControl:GelleryViewTypeDropDown>
                                </td>
                                <td>
                                    <telerik:RadButton ID="btnUpdateGallery" CssClass="ImageGallery_glUpdateGalleryStrip" Text="" runat="server">
                                        <Image EnableImageButton="true" IsBackgroundImage="true" />
                                    </telerik:RadButton>
                                </td>
                                <td>
                                    <telerik:RadButton ID="btnDeleteGallery" runat="server" CssClass="ImageGallery_glDelete" HoveredCssClass="ImageGallery_glDeleteHover"
                                        Text="">
                                        <Image EnableImageButton="true" IsBackgroundImage="true" />
                                    </telerik:RadButton>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td colspan="3" align="right">
                                    <telerik:RadButton ID="btnSaveGallery" runat="server" Text="Spara som nytt Galleri">
                                    </telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </telerik:RadDock>
            </ModuleControls:ConfigurationDockZone>
        </ModuleControls:ConfigurationDockLayout>
        <div style="margin-top: 18px;">
            <asp:Panel ID="pnlDisplayGalleryConfiguration" runat="server">
                <table border="0" cellpadding="2" cellspacing="6">
                    <tr>
                        <td>
                            <telerik:RadComboBox ID="ddlThunmnailSize" runat="server" AutoPostBack="true" Font-Names="Arial" ForeColor="#666666" Font-Size="14px"
                                Width="180px">
                                <Items>
                                    <telerik:RadComboBoxItem Text="100 X 60" Value="100-60" Selected="true" />
                                    <telerik:RadComboBoxItem Text="110 X 70" Value="110-70" />
                                    <telerik:RadComboBoxItem Text="120 X 80" Value="120-80" />
                                    <telerik:RadComboBoxItem Text="140 X 90" Value="140-90" />
                                    <telerik:RadComboBoxItem Text="170 X 120" Value="170-120" />
                                </Items>
                            </telerik:RadComboBox>
                        </td>
                        <td>
                            <telerik:RadComboBox ID="ddlBorder" runat="server" EmptyMessage="Välj inramning" AutoPostBack="True" Font-Names="Arial" ForeColor="#666666"
                                Font-Size="14px" Width="180px">
                                <Items>
                                    <telerik:RadComboBoxItem Text="Raka hörn utan skugga" Value="CornerSimple" />
                                    <telerik:RadComboBoxItem Text="Raka hörn med skugga" Value="CornerShadow" />
                                    <telerik:RadComboBoxItem Text="Runda hörn utan skugga" Value="RoundedSimple" />
                                    <telerik:RadComboBoxItem Text="Runda hörn med skugga" Value="RoundedShadow " />
                                </Items>
                            </telerik:RadComboBox>
                        </td>
                        <td>
                            <telerik:RadComboBox ID="ddlEffect" runat="server" EmptyMessage="Välj effekt" Font-Names="Arial" ForeColor="#666666" Font-Size="14px"
                                Width="180px">
                            </telerik:RadComboBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">
                            <asp:Label ID="ltrImageWidth" runat="server" Text="Visning bredd pixl"></asp:Label>
                            <asp:TextBox runat="server" ID="txtImagePixelSize" Text="1000" Enabled="false" Font-Names="Arial" Width="40px" ForeColor="#666666"
                                Font-Size="14px">
                            </asp:TextBox>
                        </td>
                        <td valign="middle">
                            <telerik:RadButton ID="btnOpenUploadWindow" runat="server" Text="Ladda upp bilder">
                            </telerik:RadButton>
                        </td>
                        <td valign="middle">
                        </td>
                        <td valign="middle">
                               
                        </td>
                        <td valign="middle">
                        </td>
                    </tr>
                </table>
                <asp:PlaceHolder ID="phGalleryView" runat="server"></asp:PlaceHolder>
                <uc1:GalleryViewSimple ID="GalleryViewSimple1" runat="server" Visible="true" />
            </asp:Panel>
            <asp:Panel ID="pnlUploadImages" runat="server" Visible="false">
                <div style="text-align: right; margin-right: 20px;">
                    <telerik:RadButton ID="btnBackFromUpload" runat="server" Text="Tillbaka">
                    </telerik:RadButton>
                </div>
                <telerik:RadProgressManager runat="server" ID="RadProgressManager1" Skin="Transparent" />
                <telerik:RadAsyncUpload ID="upImages" runat="server" MaxFileSize="10485760" MultipleFileSelection="Automatic" AllowedFileExtensions=".jpg,.png,.jpeg,.bmp,.gif"
                    PostbackTriggers="btnUploadToServer" OnClientFilesUploaded="onClientFileUploaded" OnClientValidationFailed="onValidationFailed"
                    Skin="Transparent" Width="300px">
                    <Localization Cancel="Avbyrt" Remove="Ta bort" Select="Välj bilder" />
                </telerik:RadAsyncUpload>
                <telerik:RadButton ID="btnUploadToServer" runat="server" Text="Ladda upp till Galleriet" Enabled="false" AutoPostBack="false"
                    OnClientClicked="updatePictureAndInfo">
                </telerik:RadButton>
                <telerik:RadProgressArea runat="server" ID="RadProgressArea1" Skin="Transparent" Width="100%">
                </telerik:RadProgressArea>
                <telerik:RadNotification ID="RadNotification1" runat="server" Skin="Transparent" EnableRoundedCorners="true" EnableViewState="false"
                    EnableShadow="true" ShowTitleMenu="false" Position="Center" Width="300" Height="100">
                </telerik:RadNotification>
            </asp:Panel>
        </div>
    </telerik:RadAjaxPanel>
</div>
 I have also attached the image to show the messed page .







shadow
Top achievements
Rank 2
 answered on 30 Oct 2012
6 answers
112 views
Hi Telerik Team

I have many Redhtmlfield on same page, and on that page i want to make one of the redhtmlfields to readonly(non-editable)?
Can you provide the support for that? Its urgent.

Thanks and regards

Rajat Jindal
Pavlina
Telerik team
 answered on 30 Oct 2012
3 answers
85 views
Hi,
Suppose i have placed a button inside a ClientItemTemplate of RadGrid and attached handler to its click event as:
<ClientItemTemplate>
         <input type="button" onclick="OnModifyActiveStatus(this);">
         </input>
</ClientItemTemplate>


Now i have enabled CellSelectedEvent and attached an handler to OnCellSelected event as:
<ClientEvents OnCellSelected="cs" ... />


Now when i click on button inside Template, i want both event handlers to get fired (button.onclick and ClientEvents.OnCellSelected) which I'm getting in firefox but no success in IE.
Maria Ilieva
Telerik team
 answered on 30 Oct 2012
2 answers
98 views
When implementing 2012 Q3 on one of our sites I run into the problem that the custom skin classes are not applied to the html elements of the grid.

I use:

<telerik:RadGrid Skin="altec" EnableEmbeddedSkins="false" ID="dtgProducts" runat="server" DataSourceID="SqlDataSource1" PageSize="10" PageCount="20" AllowSorting="False"
AllowMultiRowSelection="False" AllowPaging="True" ShowGroupPanel="True" AutoGenerateColumns="False" OnItemCommand="dtgProducts_ItemCommand" OnItemCreated="dtgProducts_ItemCreated" OnItemDataBound="dtgProducts_ItemDataBound" GridLines="none">

Nowhere the "_altec" suffix is added to the classes.

Is this a known bug in Q3 2012?

Marc
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 30 Oct 2012
8 answers
966 views
Hi.

In a RadGrid control I get an int value and tinyint value from the database.

I need to convert the tinyint value to the string representation of an enum that they represent in my application. E.g. If value = 1 then show "Active", if 2 show "Pending etc"

And with the int value I need to convert it to a value in a database table, the int value essentially being a primary key in another table.

I've looked at the column types page on your demo site (http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx) and your support but nothing is showing me what I want except when in edit mode to fill a drop down list.

If you could point me in the right direction I'm sure this is all documentated somewhere.

Many thanks
Chris
Kostadin
Telerik team
 answered on 30 Oct 2012
1 answer
82 views
I've successfully been using two RadSlidingPane controls on one of my web form for some time now.  As shown in the screenshot, the inner one actually sits on a User Control, which is loaded into the web form.  Everything was working perfectly fine.

Today I had occasion to change a bunch of server-side code, somewhat unrelated to the RadSlidingPanes ... or so I thought.  Anyhow, I've now discovered that the Undock icon (the thumbtack) of the inner sliding pane has suddenly stopped functioning!  The outer one still works normally, meaning that when I hover over it a hand cursor appears, an "Undock" tooltip appears, and clicking on it causes the sliding pane to collapse (undock).

But the inner one isn't doing any of that anymore!

I really have no idea what it is I could have possibly changed that would make this happen.  In point of fact, I have about a dozen User Controls in which the inner RadSlidingPane is implemented in the same way and I KNOW that I haven't even touched the code in most of them ... yet their Undock icons aren't working either!

I would really appreciate it if you could give me some suggestions about what code controls the aforementioned Undock functionality (cursor & tooltip for example).  That might give me a clue as to what it is I changed that messed things up.

Thank you,

Robert W.
Robert
Top achievements
Rank 1
 answered on 30 Oct 2012
13 answers
704 views
I am writing to learn if there is an option to remove the blinking mouse cursor from the RadComboBox - 
without disabling the actual RadComboBox;

As of April of 2010, a post from Telerik Support indicated the cursor cannot be controlled programmatically - unless the RadComboBox is disabled;

Thanks in advance for any insight; 

Best regards - Rob
Matthew
Top achievements
Rank 1
 answered on 30 Oct 2012
3 answers
93 views
I am using RadAjaxManager and it works well, but to update a frame with RadAjaxManager have stop working.
I am using RegisterClientScriptBlock in code behind, and this works before i use RadAjaxManager....
How do I configure it to work again?
Using Page Language="VB"....

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="rcbMyLink">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="PanelNewInsert" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewExternUrl" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewInternUrl" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="lbSavePage">
            <UpdatedControls>       
                <telerik:AjaxUpdatedControl ControlID="PanelNewInsert" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewExternUrl" />
                <telerik:AjaxUpdatedControl ControlID="PanelNewInternUrl" />
            </UpdatedControls>
        </telerik:AjaxSetting>
   </AjaxSettings>
</telerik:RadAjaxManager>


ClientScript.RegisterClientScriptBlock(Me.[GetType](), "scr", "<script>parent.TreeFrame.location.replace('" + MyMeny + "');</script>")
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Oct 2012
1 answer
450 views
What does the message actually mean?  The DataFieldID has unique values from the data table. There are no column names the same.
Seems like no matter what fields I try to set I receive "Parent Columns and Child Columns don't have type-matching columns." Or "These columns don't currently have unique values."

RadTreeView1.DataFieldParentID = "IdeaID"
RadTreeView1.DataFieldID = "ID";  
RadTreeView1.DataTextField = "IdeaName"
RadTreeView1.DataValueField = "IdeaStatus"
RadTreeView1.DataSource = dtT;                   
RadTreeView1.DataBind();
Shinu
Top achievements
Rank 2
 answered on 30 Oct 2012
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?