Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
221 views

Hello Telerik,

I'm using a pop up edit form in a Radgrid.  Is it possible to style (font size, color, etc) the Label associated with a given edit item in the code behind?  I have multiple edit fields on the form and I need to change the style of some of the labels. but not all of them.

Also, how can I prevent the colon(":") from being added to the end of my labels.

Thank you.

Ralf
Top achievements
Rank 1
 answered on 29 Sep 2016
18 answers
2.2K+ views
Is there a way to have only Horizontal Scrollbar in a radgrid? When I enable scrolling in ClientSettings, both Horizontal and Vertical scrollbar shows up. I want to have only Horizontal scrollbar and the height of the grid should adjust as per the number of records, which happens when you don't have scrolling enabled. I also tried using Scrollheight, in that case if the number of records are less than what can be shown in that height, there is whitespace for the rest of the height.

Thanks
bryan
Top achievements
Rank 1
 answered on 29 Sep 2016
1 answer
115 views

I want to customize the add new button, centering it on the grid but also having the same functionality as the normal built in Add New button.

Here is the code I have so far:

<CommandItemSettings ShowAddNewRecordButton="False" />
<CommandItemSettings ShowRefreshButton="false" />
<CommandItemTemplate>
    <div id="divCenter" style="text-align: center">
    <asp:LinkButton ID="btnAddNew" Text="Add New" CommandName="Insert" runat="server"></asp:LinkButton>
</div>
</CommandItemTemplate>

The problem is the Insert command only makes the screen flash and doesn't open the Add New dialog.

Can you help?

LJZIMMERMAN
Top achievements
Rank 1
 answered on 29 Sep 2016
0 answers
81 views

The R3 2016 release of the Telerik UI for ASP.NET AJAX suite introduces several improvements of the Lightweight rendering of the RadTreeView. As the RadDropDownTree uses an embedded RadTreeView for its drop-down, those changes apply for that control too.

Full description of the improvements made could be found in the following documentation article.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 29 Sep 2016
0 answers
100 views

The R3 2016 release of the Telerik UI for ASP.NET AJAX suite introduces several improvements of the Lightweight rendering of the RadTreeView.

Full description of the improvements made could be found in the following documentation article.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 29 Sep 2016
1 answer
300 views

Hi 

How can I prevent without losing the data of radasyncupload on post back. My requirement is that onFileUploaded I need to assign the count of number of uploaded files to repeater control(this is done on server side, so post back is happening here) and on click of upload in a repeater item, I need to transfer the file to some other location. But on button click I'm not able to retain radasyncupload data as I'm already doing one post back to assign data to repeater control. 

Thanks in advance

Vinod

 

Anton
Telerik team
 answered on 29 Sep 2016
3 answers
127 views
I know that many other people have posted threads about this issue; however, non of them got my issue resolved. Well, I'm trying to send the content of RadEditor , which contains images (uploaded to a folder on the web server) to as an email (using GMail), but when the email is received, the image is unavailable. ContentFilters is set to "MakeUrlsAbsolute, DefaultFilters", SearchPatterns is set to "*.jpeg,*.jpg,*.png,*.gif,*.bmp". I've gove "Everyone" access to the folder where images are uploaded but this has not fixed the issue. When I inspected the<img> tag in the received email, I found out that the URL has been changed to "https://ci4.googleusercontent.com/proxy/" and some random letters before the actual URL. I'm not sure why this is happening and whether this is a GMail issue or RadEditor issue. Nothing online helped me to get this issue resolved.
Rumen
Telerik team
 answered on 29 Sep 2016
2 answers
204 views

Hello,

 

Inside a RadScheduler (ID= "Radscheduler1")

I have a RadComboBox (ID="acbProjet") with an 'OnSelectedIndexChanged' Inside Advanced Insert Form.

I have also an other RadDropDownList (ID="RadDropDownListTypeHeure") depending on the choice of the RadComboBox.

        protected void acbProjet_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {
          // ??? RadDropDownList rddl = (RadDropDownList) RadScheduler.FindControl("RadDropDownListTypeHeure");
          // ??? RadDropDownListTypeHeure = (RadComboBox)e.Container.FindControl("RadDropDownListTypeHeure");
        }

 

HOW can i access the RadDropDownList for update the datasource ?

THANK you for your HELP

 

 

Peter Milchev
Telerik team
 answered on 29 Sep 2016
7 answers
217 views
Hi,

like the subject says, I'm trying to have an AJAX ComboxBox, among other controls, inside a RadPanelBar but it seems it doesn't work, since I'm getting a JavaScript error about a variable bestWidth that is set to -2.

<body> 
    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <div> 
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"
        <ContentTemplate> 
                
           <telerik:RadPanelBar ID="RadPanelBar1" runat="server"
                   <Items> 
                       <telerik:RadPanelItem runat="server" Text="Root RadPanelItem1"
                        <Items> 
                            <telerik:RadPanelItem> 
                            <ItemTemplate>                                  
                                <cc1:ComboBox ID="ComboBox1" runat="server" AutoCompleteMode="Append" AutoPostBack="true" DropDownStyle="DropDown"
                                </cc1:ComboBox>                                    
                            </ItemTemplate> 
                            </telerik:RadPanelItem> 
                        </Items>                       
                       </telerik:RadPanelItem> 
                        
                        <telerik:RadPanelItem runat="server" Text="Root RadPanelItem2"
                        <Items> 
                            <telerik:RadPanelItem> 
                            <ItemTemplate> 
                                <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> 
                            </ItemTemplate> 
                            </telerik:RadPanelItem> 
                        </Items> 
                       </telerik:RadPanelItem> 
                   </Items> 
            </telerik:RadPanelBar>      
        </ContentTemplate> 
        </asp:UpdatePanel> 
    </div> 
    </form> 
</body> 

Thanks in advance for your help.

Dax
Sneha
Top achievements
Rank 1
 answered on 29 Sep 2016
14 answers
1.0K+ views
I'm apparently missing something here.  Trying to change the sort order of a grid that uses GroupByExpressions with no luck.

I started with the following:
<GroupByExpressions>
    <telerik:GridGroupByExpression>
        <GroupByFields>
            <telerik:GridGroupByField FieldName="OrderID" />
        </GroupByFields>
        <SelectFields>
            <telerik:GridGroupByField FieldName="OrderID" HeaderText="Order ID" />
            <telerik:GridGroupByField FieldName="CustLastFirst" HeaderText="Customer" />
            <telerik:GridGroupByField FieldName="Total" HeaderText="Order Total" FormatString="{0:C}" />
        </SelectFields>
    </telerik:GridGroupByExpression>
</GroupByExpressions>


Then I tried adding this:
<SortExpressions>
    <telerik:GridSortExpression FieldName="CustLastFirst" SortOrder="Ascending" />
</SortExpressions>

And I tried variations of this, but get either no action or a type mismatch error:
<GroupByFields>
    <telerik:GridGroupByField FieldName="OrderID" />
    <telerik:GridGroupByField FieldName="CustLastFirst" />
</GroupByFields>


Any suggestions?  Thanks!


Kostadin
Telerik team
 answered on 29 Sep 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?