Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
In the itemDataBound event I change the image of a couple of columns when the page is initially loaded. The images are based on an upper and lower limit that is initially set to default values and compared to the value in another data bound column. That is working fine.
My questions is this - I have a  link button in the command item template that opens a Rad Window and allows them to set their upper and lower limit. When the window closes I need to update the images on those 2 columns again based on the limits they selected.
What is the best way to accomplish this?
Thank you for your help with this.
Chris LaFrancis
Top achievements
Rank 1
 answered on 27 Apr 2010
2 answers
107 views
I have a pretty simple rad grid which is in a modal window. In Firefox, the height of the row (vertical-padding) appears to be greater than it does in Internet Explorer. I took a screenshot of both, and sure enough the row heights are larger in Firefox. This causes scrollbars to show up on the modal window. Any help is appreciated.

The grid

<div style='padding: 10px;'>  
<Telerik:RadGrid RegisterWithScriptManager="true" ID="StudentCheckListRadGrid" 
        AutoGenerateColumns="false" runat="server" AllowSorting="true"   
        AllowPaging="false" ShowHeader="false" PageSize="10" Width="100%">  
<MasterTableView AllowMultiColumnSorting="true" AutoGenerateColumns="false">  
    <Columns> 
        <Telerik:GridBoundColumn DataField="TaskHeaderCheckList" HeaderText="FirstNameCheckList"></Telerik:GridBoundColumn> 
    </Columns> 
</MasterTableView>        
</telerik:RadGrid> 
 
</div> 

The modal window

        <telerik:RadWindow ID="StudentCheckListWindow" runat="server" Modal="True" AutoSize="False" Behaviors="Close" 
             Height="600" Width="800" ReloadOnShow="true">  
            <ContentTemplate> 
                <ctrl1:ctrlNameList ID="ctrlNameList" runat="server" />   
            </ContentTemplate> 
        </telerik:RadWindow> 
mc2000
Top achievements
Rank 1
 answered on 27 Apr 2010
2 answers
127 views
Hello All ,

 Am having lots of columns , but i displays only few among those , rest will be given to the user to select , so My header Context menu Column Selection Check box list must show all the columns from the data source , no matter its shown on the grid . and the user can make his option from the menu apart from the default columns that shown in the grid ,

Is this possible ? any sort of help will be highly appreciated .
Thanks and Reagrds
-Prince

Prince M. Premnath
Top achievements
Rank 2
 answered on 27 Apr 2010
1 answer
122 views
Hi,
   I was  trying to install  "RadControls_for_Asp.Net_1_415_dev" but got a error message "ToolBoxInstaller.exe(/install/uninstall) (TargetDir) (ConfigFile)". Please let me know what is the solution for this.


Thanks
Kamlesh Gurav
Andrey
Telerik team
 answered on 27 Apr 2010
3 answers
156 views
I need a cascading dropdown effect with the comboboxes at the bottom of my page, With no ajax, it works as desired, but when I enable ajax I see the loading image and then nothing happens.  What settings do I need to get this to work?

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="TShirtPanel"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="TShirtPanel" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="LoginView2" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="MascotPanel"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="MascotRow"  
                        LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="WebBlue" /> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"
    </telerik:RadAjaxLoadingPanel> 
    <asp:FormView ID="ItemFV" runat="server" DataSourceID="ItemLDS"
        <ItemTemplate> 
            <table> 
                <tr> 
                    <td align="left" rowspan="3" valign="top"
                        <asp:Image ID="ItemImage" runat="server" Height="200px" ImageAlign="Left" Width="200px" 
                            ImageUrl='<%# Eval("ImageURL") %>' /> 
                    </td> 
                    <td align="left" valign="top" style="height: 30px"
                        Item#:&nbsp 
                        <asp:Label ID="FactoryIDLBL" runat="server" Text='<%# Eval("FactoryID") %>'></asp:Label> 
                        <asp:Label ID="ItemIDLBL" runat="server" Text='<%# Eval("ItemID") %>' Style="display: none"></asp:Label> 
                    </td> 
                </tr> 
                <tr> 
                    <td align="left" height="30" valign="top"
                        Name:&nbsp 
                        <asp:Label ID="ItemNameLBL" runat="server" Text='<%# Eval("Name") %>'></asp:Label> 
                    </td> 
                </tr> 
                <tr> 
                    <td align="left" valign="top" width="300px"
                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("Description") %>'></asp:Label> 
                    </td> 
                </tr> 
            </table> 
        </ItemTemplate> 
    </asp:FormView> 
    <br /> 
    <div id="TShirtCell" runat="server" align="left" valign="top" class="style1" colspan="2"
        <asp:Panel ID="TShirtPanel" runat="server"
            <telerik:RadGrid ID="ColorSizeGrid" runat="server" DataSourceID="ColorSizesLDS" GridLines="None" 
                Skin="WebBlue" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
                <MasterTableView AutoGenerateColumns="False" DataKeyNames="ColorSizeID" DataSourceID="ColorSizesLDS" 
                    CommandItemDisplay="Bottom" EditMode="InPlace" ShowFooter="True"
                    <RowIndicatorColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                    </RowIndicatorColumn> 
                    <ExpandCollapseColumn> 
                        <HeaderStyle Width="20px"></HeaderStyle> 
                    </ExpandCollapseColumn> 
                    <NoRecordsTemplate> 
                        Please use the Add Shirts button below to start adding your shirt size/color breakdown.&nbsp; 
                        The Quantity box will be updated automatically. 
                    </NoRecordsTemplate> 
                    <CommandItemSettings AddNewRecordText="Add Shirts" /> 
                    <Columns> 
                        <telerik:GridBoundColumn DataField="ColorSizeID" DataType="System.Int32" HeaderText="ColorSizeID" 
                            ReadOnly="True" SortExpression="ColorSizeID" UniqueName="ColorSizeID" Visible="False"
                        </telerik:GridBoundColumn> 
                        <telerik:GridTemplateColumn DataField="ColorID" DataType="System.Int32" HeaderText="Color" 
                            SortExpression="ColorID" UniqueName="ColorID"
                            <EditItemTemplate> 
                                <telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="ColorsLDS" DataTextField="Name" 
                                    DataValueField="ColorID" SelectedValue='<%# Bind("ColorID") %>' Skin="WebBlue"
                                    <ItemTemplate> 
                                        <asp:Label ID="Label7" runat="server" Style="display: none" Text='<%# Eval("Name") %>'></asp:Label> 
                                        &nbsp;<asp:Image ID="Image4" runat="server" Height="15px" ImageAlign="AbsMiddle" 
                                            ImageUrl='<%# Eval("ImageURL") %>' Width="90px" /> 
                                    </ItemTemplate> 
                                </telerik:RadComboBox> 
                            </EditItemTemplate> 
                            <ItemTemplate> 
                                <asp:Label ID="ColorIDLabel" runat="server" Text='<%# Eval("Color.Name") %>'></asp:Label> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridTemplateColumn DataField="SizeID" DataType="System.Int32" HeaderText="Size" 
                            SortExpression="SizeID" UniqueName="SizeID"
                            <EditItemTemplate> 
                                <telerik:RadComboBox ID="RadComboBox2" runat="server" DataSourceID="SizesLDS" DataTextField="Name" 
                                    DataValueField="SizeID" SelectedValue='<%# Bind("SizeID") %>' Skin="WebBlue"
                                </telerik:RadComboBox> 
                            </EditItemTemplate> 
                            <ItemTemplate> 
                                <asp:Label ID="SizeIDLabel" runat="server" Text='<%# Eval("Size.Name") %>'></asp:Label> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridTemplateColumn Aggregate="Sum" DataField="Quantity" DataType="System.Int32" 
                            FooterAggregateFormatString="{0}" HeaderText="Quantity" SortExpression="Quantity" 
                            UniqueName="Quantity"
                            <EditItemTemplate> 
                                <asp:TextBox ID="QuantityTextBox" runat="server" Text='<%# Bind("Quantity") %>' Width="75px" 
                                    Style="text-align: center"></asp:TextBox> 
                            </EditItemTemplate> 
                            <ItemTemplate> 
                                <asp:Label ID="QuantityLabel" runat="server" Text='<%# Eval("Quantity") %>'></asp:Label> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridBoundColumn DataField="TshirtID" DataType="System.Int32" HeaderText="TshirtID" 
                            SortExpression="TshirtID" UniqueName="TshirtID" Visible="False"
                        </telerik:GridBoundColumn> 
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderText="Change"
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" Wrap="False" /> 
                        </telerik:GridEditCommandColumn> 
                        <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" HeaderText="Remove" 
                            UniqueName="column"
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" /> 
                        </telerik:GridButtonColumn> 
                    </Columns> 
                    <EditFormSettings> 
                        <EditColumn UniqueName="EditCommandColumn1"
                        </EditColumn> 
                    </EditFormSettings> 
                </MasterTableView> 
            </telerik:RadGrid> 
        </asp:Panel> 
    </div> 
    <telerik:RadGrid ID="PriceBreakGrid" runat="server" DataSourceID="PriceBreakLDS" 
        GridLines="None" Skin="WebBlue" Width="200px"
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="PriceBreakID" DataSourceID="PriceBreakLDS"
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px" /> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px" /> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn DataField="PriceBreakID" DataType="System.Int32" HeaderText="PriceBreakID" 
                    ReadOnly="True" SortExpression="PriceBreakID" UniqueName="PriceBreakID" Visible="False"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="ItemID" DataType="System.Int32" HeaderText="ItemID" 
                    SortExpression="ItemID" UniqueName="ItemID" Visible="False"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Quantity" DataType="System.Int32" HeaderText="Quantity" 
                    SortExpression="Quantity" UniqueName="Quantity"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Price" DataFormatString="{0:c}" DataType="System.Decimal" 
                    HeaderText="Price" SortExpression="Price" UniqueName="Price"
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
    <asp:LoginView ID="LoginView2" runat="server"
        <LoggedInTemplate> 
            <table> 
                <tr valign="middle"
                    <td> 
                        Quantity: 
                    </td> 
                    <td> 
                        <telerik:RadNumericTextBox ID="QuantityNTB" runat="server" MinValue="0" Skin="WebBlue" 
                            Style="text-align: center" Width="75px" ValidationGroup="Quantity"
                            <NumberFormat DecimalDigits="0" /> 
                        </telerik:RadNumericTextBox> 
                    </td> 
                    <td> 
                        <asp:RangeValidator ID="QuantityRV" runat="server" ErrorMessage="You have entered a quantity lower than the minimum for this item" 
                            ControlToValidate="QuantityNTB" Text="*" Display="Dynamic" MaximumValue="99999999" 
                            Type="Integer" ValidationGroup="Quantity"></asp:RangeValidator> 
                        <asp:CustomValidator ID="QuantityTShirtCV" runat="server" ErrorMessage="The quanity must equal the total number of shirts." 
                            ControlToValidate="QuantityNTB" Display="Dynamic" OnServerValidate="QuantityTShirtCV_ServerValidate">*</asp:CustomValidator> 
                    </td> 
                    <td align="center"
                        Add To Cart And: 
                    </td> 
                </tr> 
                <tr> 
                    <td colspan="3"
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Quantity" /> 
                    </td> 
                    <td> 
                        <asp:Button ID="AddToCartBtn" runat="server" OnClick="AddToCartBtn_Click" Text="Continue Shopping" 
                            ValidationGroup="Quantity" Height="21px" Width="125px" /> 
                    </td> 
                </tr> 
                <tr> 
                    <td colspan="3"
                    </td> 
                    <td> 
                        <asp:Button ID="AddAndCatrBTN" runat="server" OnClick="AddAndViewCartBtn_Click" Text="Check Out" 
                            ValidationGroup="Quantity" Height="21px" Width="125px" /> 
                    </td> 
                </tr> 
            </table> 
        </LoggedInTemplate> 
        <AnonymousTemplate> 
            You must be logged in to place an order<br /> 
            <asp:LoginStatus ID="LoginStatus3" runat="server" /> 
            &nbsp;or 
            <asp:LinkButton ID="RegisterLinkButton" runat="server" OnClick="RegisterLinkButton_Click">Register</asp:LinkButton> 
        </AnonymousTemplate> 
    </asp:LoginView> 
    <telerik:RadGrid ID="ChoiceGrid" runat="server" DataSourceID="ItemChoiceLDS" GridLines="None" 
        Width="250px" Skin="WebBlue" OnDataBound="EmptyGridCheckOnGrid_DataBound"
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="ItemChoiceID" DataSourceID="ItemChoiceLDS"
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn DataField="ItemChoiceID" DataType="System.Int32" HeaderText="ItemChoiceID" 
                    ReadOnly="True" SortExpression="ItemChoiceID" UniqueName="ItemChoiceID" Visible="False"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="ItemID" DataType="System.Int32" HeaderText="ItemID" 
                    SortExpression="ItemID" UniqueName="ItemID" Visible="False"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Name" HeaderText="Choice" SortExpression="Name" 
                    UniqueName="Name"
                </telerik:GridBoundColumn> 
                <telerik:GridTemplateColumn HeaderText="Value" UniqueName="Value"
                    <EditItemTemplate> 
                    </EditItemTemplate> 
                    <ItemTemplate> 
                        <asp:LinqDataSource ID="ChoicesLDS" runat="server" ContextTypeName="CatalystDataContext" 
                            TableName="Choices" Where="ItemChoiceID == @ItemChoiceID"
                            <WhereParameters> 
                                <asp:ControlParameter ControlID="Label4" Name="ItemChoiceID" PropertyName="Text" 
                                    Type="Int32" /> 
                            </WhereParameters> 
                        </asp:LinqDataSource> 
                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("ItemChoiceID") %>' Visible="False"></asp:Label> 
                        <telerik:RadComboBox ID="ChoiceCB" runat="server" DataSourceID="ChoicesLDS" DataTextField="Name" 
                            DataValueField="ImageURL" Skin="WebBlue"
                            <ItemTemplate> 
                                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Name") %>'></asp:Label> 
                                <asp:Image ID="Image2" runat="server" Height="25px" ImageAlign="AbsMiddle" ImageUrl='<%# Eval("ImageURL") %>' 
                                    Width="25px" /> 
                            </ItemTemplate> 
                        </telerik:RadComboBox> 
                    </ItemTemplate> 
                </telerik:GridTemplateColumn> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
    <telerik:RadGrid ID="OptionGrid" runat="server" DataSourceID="OptionsLDS" GridLines="None" 
        Width="400px" Skin="WebBlue" OnDataBound="EmptyGridCheckOnGrid_DataBound"
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="OptionID" DataSourceID="OptionsLDS"
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn DataField="OptionID" DataType="System.Int32" HeaderText="OptionID" 
                    ReadOnly="True" SortExpression="OptionID" UniqueName="OptionID" Visible="False"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="ItemID" DataType="System.Int32" HeaderText="ItemID" 
                    SortExpression="ItemID" UniqueName="ItemID" Visible="False"
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Name" HeaderText="Option" SortExpression="Name" 
                    UniqueName="Name"
                </telerik:GridBoundColumn> 
                <telerik:GridTemplateColumn HeaderText="Value" UniqueName="Value"
                    <ItemTemplate> 
                        <telerik:RadTextBox ID="OptionRTB" runat="server" TextMode="MultiLine" Width="300px"
                        </telerik:RadTextBox> 
                    </ItemTemplate> 
                </telerik:GridTemplateColumn> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
    <div id="MascotHeaderRow" runat="server"
        This design makes use of your school's Mascot. 
        <br /> 
        Please choose from one of our stock mascots, 
        <br /> 
        or check the box to use a custom image 
        <asp:CheckBox ID="UseCustomImageCB" runat="server" Text="Use Custom Image" AutoPostBack="True" 
            OnCheckedChanged="UseCustomImageCB_CheckedChanged" /> 
    </div> 
    <div id="MascotRow" runat="server"
        <asp:Panel ID="MascotPanel" runat="server"
            <table cellspacing="5"
                <tr> 
                    <td valign="middle"
                        <telerik:RadComboBox ID="MascotCatCB" runat="server" DataSourceID="MascotCategoriesLDS" 
                            DataTextField="Name" DataValueField="MascotCategoryID" AutoPostBack="True" MaxHeight="500px" 
                            Skin="WebBlue" OnSelectedIndexChanged="MascotCatCB_SelectedIndexChanged"
                        </telerik:RadComboBox> 
                    </td> 
                    <td valign="middle"
                        <telerik:RadComboBox ID="MascotCB" runat="server" DataSourceID="MascotsLDS" DataTextField="Name" 
                            DataValueField="MascotID" EnableVirtualScrolling="True" AutoPostBack="True" OnDataBound="MascotCB_DataBound" 
                            OnSelectedIndexChanged="MascotCB_SelectedIndexChanged" MaxHeight="500px" Skin="WebBlue" 
                            Width="250px"
                            <ItemTemplate> 
                                <table> 
                                    <tr> 
                                        <td valign="middle" align="left" width="200"
                                            <asp:Label ID="Label6" runat="server" Text='<%# Eval("Name") %>'></asp:Label> 
                                        </td> 
                                        <td align="right"
                                            <asp:Image ID="Image3" runat="server" Height="100px" ImageUrl='<%# Eval("ImageURL") %>' 
                                                Width="100px" /> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </ItemTemplate> 
                        </telerik:RadComboBox> 
                    </td> 
                    <td align="left" valign="top" width="200"
                        <asp:Image ID="MascotImage" runat="server" Height="150px" Width="150px" /> 
                    </td> 
                </tr> 
            </table> 
        </asp:Panel> 
    </div> 
    <div id="CustomImageHeaderRow" runat="server"
        Use the dropdown to select an image you have already uploaded, or the select and 
        upload buttons to upload a new image</div> 
    <div id="CustomImageRow" runat="server"
        <telerik:RadComboBox ID="CustomerImageRCB" runat="server" AppendDataBoundItems="True" 
            DataSourceID="CustomerImageLDS" DataTextField="Name" DataValueField="CustomerImageID" 
            Skin="WebBlue"
            <Items> 
                <telerik:RadComboBoxItem runat="server" Text="None" Value="null" /> 
            </Items> 
        </telerik:RadComboBox> 
        <telerik:RadUpload ID="ImageUpload" runat="server" ControlObjectsVisibility="None" 
            TargetFolder="Images/Customer" Skin="WebBlue" Width="275px"
        </telerik:RadUpload> 
        <asp:Button ID="CustomerImageUploadBTN" runat="server" Text="Upload" OnClick="CustomerImageUploadBTN_Click" /> 
    </div> 
    <asp:LinqDataSource ID="ItemLDS" runat="server" ContextTypeName="CatalystDataContext" 
        OnSelecting="ItemLDS_Selecting" TableName="Items"
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="PriceBreakLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="PriceBreaks" Where="ItemID == @ItemID" OrderBy="Quantity"
        <WhereParameters> 
            <asp:QueryStringParameter DefaultValue="1" Name="ItemID" QueryStringField="itemid" 
                Type="Int32" /> 
        </WhereParameters> 
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="ItemChoiceLDS" runat="server" ContextTypeName="CatalystDataContext" 
        OrderBy="Name" TableName="ItemChoices" Where="ItemID == @ItemID"
        <WhereParameters> 
            <asp:QueryStringParameter DefaultValue="1" Name="ItemID" QueryStringField="itemid" 
                Type="Int32" /> 
        </WhereParameters> 
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="OptionsLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="Options" Where="ItemID == @ItemID"
        <WhereParameters> 
            <asp:QueryStringParameter DefaultValue="1" Name="ItemID" QueryStringField="itemid" 
                Type="Int32" /> 
        </WhereParameters> 
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="MascotCategoriesLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="MascotCategories"
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="MascotsLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="Mascots" Where="MascotCategoryID == @MascotCategoryID"
        <WhereParameters> 
            <asp:ControlParameter ControlID="MascotCatCB" Name="MascotCategoryID" PropertyName="SelectedValue" 
                Type="Int32" /> 
        </WhereParameters> 
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="ColorSizesLDS" runat="server" ContextTypeName="CatalystDataContext" 
        EnableDelete="True" EnableInsert="True" EnableUpdate="True" OnSelecting="ColorSizesLDS_Selecting" 
        TableName="ColorSizes" OnInserting="ColorSizesLDS_Inserting" OnInserted="ColorSizesLDS_Inserted" 
        OnDeleted="ColorSizesLDS_Inserted" OnUpdated="ColorSizesLDS_Inserted"
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="CustomerImageLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="CustomerImages" Where="CustomerID == @CustomerID"
        <WhereParameters> 
            <asp:ProfileParameter DbType="Guid" Name="CustomerID" PropertyName="userid" /> 
        </WhereParameters> 
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="ColorsLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="Colors"
    </asp:LinqDataSource> 
    <asp:LinqDataSource ID="SizesLDS" runat="server" ContextTypeName="CatalystDataContext" 
        TableName="Sizes"
    </asp:LinqDataSource> 
</asp:Content> 

Maria Ilieva
Telerik team
 answered on 27 Apr 2010
3 answers
112 views
I've worked with telerik component for several years and they are really great.

What i really like is the styling possibility, but there is no control to integrate the other controls into. for example in my application i have several forms which always have the same template : a table of 2 column : label and a control(such as textbox or dropdownlist), i d like to have a control that render a table tag or divs with some css so that all my form could have the same look and feel. have you ever think about it? do you think it is difficult to do? 

thanks for your help
sebastien
Sebastian
Telerik team
 answered on 27 Apr 2010
3 answers
152 views
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server"  CssClass="textBox" DataType="System.Int32" DisabledStyle-Font-Strikeout="False"
                                                                                                            </telerik:RadNumericTextBox> 


How can I change the DataType to System.Int32?
Maria Ilieva
Telerik team
 answered on 27 Apr 2010
1 answer
102 views
I tried adding confirmtext attribute to gridbuttoncolumn but it is not skinable like the radconfirm dialog. thanks.
Princy
Top achievements
Rank 2
 answered on 27 Apr 2010
2 answers
184 views
Hi

I've just update a site form Q3 2008 to Q1 2010.

Our users are quite unhappy about the new font (Segoe UI) and find it difficult to read.

If I wanted to change it to something else across all controls is there an easy way to do this?  I can't seem to find one.

I'm reluctant to use a custom skin as having tried this it's introduced several problems with other aspects of the skining and I really want to avoid customising/hacking the site to fit a specific version of radcontrols that may change in the future.

Thanks

Andy
Andy
Top achievements
Rank 2
 answered on 27 Apr 2010
3 answers
171 views

Following is one of the radpanelitems on a panelbar. It has a button on this button’s click (client Side) I want to make  radpanel CheckingAddbucAdd visible. How do I do this?

 

<telerik:RadPanelItem value="CheckingAdd" runat="server" Text="" Expanded="true" style="display:none;">

                                                <Items>

                                                      <telerik:RadPanelItem value="CheckingAddbtn" runat="server" Text="" Expanded="true">

                                                            <ItemTemplate>

                                                                  <br />

                                                                  <asp:ImageButton ID="btnAddAccountChecking" runat="server"  />

                                                            </ItemTemplate> 

                                                      </telerik:RadPanelItem>

                                                      <telerik:RadPanelItem value="CheckingAddbucAdd" Text="AddCheckingAccount" runat="server"   Visible="false">

                                                            <ItemTemplate>

                                                                  <UC1:CheckingAcct ID="CheckingAcct1" runat="server"   AcctID="0" />

                                                            </ItemTemplate> 

                                                      </telerik:RadPanelItem>

                                                </Items>

                                          </telerik:RadPanelItem>

T. Tsonev
Telerik team
 answered on 27 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?