Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
213 views
Hi there,

I have an web app that uses the RADEditor for content management. A couple of table styles that can be applied in are borderless. This makes it a bit difficult for the administrator to navigate the cells. Is there a configurable way to show gridlines for tables (only in the editor view) in the RADEditor?

Regards,
Scott
Scozzard
Top achievements
Rank 2
 answered on 09 Jul 2010
5 answers
300 views
I have two levels of grouping in my grid.
I am trying to hide the expand and collapse images. I tried the code as shown here.
With this solution I was able to hide the expand collapse image for the first level but I was unable to do so for the sub group.

My grid looks something like:

GROUP HEADER 1
 + GROUP HEADER 2
 XXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXX

 

+ GROUP HEADER 2
 XXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXX
GROUP HEADER 1
 + GROUP HEADER 2
 XXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXX

Please let me know what I need to modify.

Also, I need to change the background style only for the Group header 1. How can i achieve this as well.

Thanks.

newbie
Top achievements
Rank 1
 answered on 08 Jul 2010
2 answers
297 views
Hi, basically what I want to do is to change the selectedValue of a RadComboBox, depending the value set on a RadNumericTextBox, this controls are inside a grid when a row is edited.

I have two ClientDataKeyNames (MIN and MAX), so what I want to is to have an event in client side that fires when the value of the radNumericTextBox change, then catch the new value, check if its between MIN and MAX, if its true change the selectedValue of radComboBox to "TRUE" and if not change it to "FALSE"

Hope you can help me!!! =D

Thanks in advance
Dany V
Top achievements
Rank 1
 answered on 08 Jul 2010
6 answers
730 views

Hello,

i use the RadComboBox with LoadOnDemand. In my Javascript code i'm calling comboBox.requestItems(...) to fill the RadComboBox. The EnableLoadOnDemand property ist set to false (there is no option for true in my workflow). After a postback, the SelectedValue is always empty. If i set EnableLoadOnDemand to true, the SelectedValue will be set (but this is no option for me). Is there a solution for this problem?

Best Regards

Clarence
Top achievements
Rank 1
 answered on 08 Jul 2010
5 answers
261 views
As mentioned in Telerik Documentation, it's upload control re-acts on postback. Here some users are concerned, that RAD Upload control fires its submit event, when they click to other button or any control which postback on the web form.

Related to this, Telerik online documentation also has got a solution (How to Prevent Upload). After revising those codes, I have modified it little and written codes in a way that users can easily achieve the target.

Javascript:
    <script type="text/javascript"> 
 
        function onClientSubmitting(progressManager, args) { 
            var eventTarget = document.getElementById('__EVENTTARGET'); 
            if (eventTarget.value == '<%= ButtonUpload.UniqueID %>') { } else { 
            var upload = $find("<%= RadUpload1.ClientID %>"); 
            var fileInputs = upload.getFileInputs(); 
            for (var i = 0; i < fileInputs.length; i++) { 
                upload.clearFileInputAt(i); 
            } 
            } 
        } 
         
    </script> 
Note: ButtonUpload is a LinkButton; Upload must be start when the ButtonUpload is fired.

In the .aspx
  <telerik:RadProgressManager id="Radprogressmanager1" runat="server" OnClientSubmitting = "onClientSubmitting" /> 
    <telerik:RadUpload ID="RadUpload1" runat="server" TargetFolder="uploads"  
        ControlObjectsVisibility="None" Height="25px" MaxFileInputsCount="1" Width="214px"  
       > 
    </telerik:RadUpload> 
    <telerik:RadProgressArea ID="RadProgressArea1" runat="server" Language=""  
        DisplayCancelButton="True"> 
<Localization Uploaded="Uploaded"></Localization> 
    </telerik:RadProgressArea> 
  
    <br /> 
  <asp:LinkButton runat="server" id="ButtonUpload" text="Upload" /> 
Note: Make sure to provide the onClientSubmitting method to RadProgressManager

Excluding to this topic: Some users very often complain that RadProgressArea does not work while uploading. And regarding to my experience it happens when your Application's Trust level is medium.

You can adjust it by writing these codes in web.config:
<system.web> 
    <trust level="Full" /> 
</system.web> 

Thank You

Regards,
Tekie



Alberto
Top achievements
Rank 1
 answered on 08 Jul 2010
2 answers
77 views
Hi
I would like to know whether the functionality described in this topic http://www.telerik.com/community/forums/silverlight/chart/bar-chart-type-and-two-point-labels-in-one-bar.aspx can be made in telerik asp.net ajax controls?

Thanks in advance.
kalvin
Top achievements
Rank 1
 answered on 08 Jul 2010
2 answers
109 views
Hi,

I have a specific need to make the GridGroupHeaderItem to be selectable and should be able to handle the selection change too.  I appreciate any help with example.  Also how to embedd image in the GridGroupHeader?

Thanks,
Indira
Indira
Top achievements
Rank 1
 answered on 08 Jul 2010
2 answers
219 views
Hello Telerik!

I am trying to use some attributes like 'fore- and background-color', from the current selected Skin, for my own Controls.

For Example I implemented a variation of your BreadCrump-Example.
Your Example has an orange colored DIV in front of the BreadCrump.

It's easy to change the color to, let us say green, by editing the style for that DIV in my own CSS.

Now I will change the color of that DIV by changing the style with the SkinChooser.

For Example, if I change the Skin to 'Vista' all the Grids will have a nice blue colored Header.
Only my BreadCrum is still in green (look's very ugly).

In best case I will read the current color of the Grid-Header and use it on my BreadCrump-DIV, without having other "external" CSS-Files or multiple definitions in my CSS for it.

Is this possible?
If yes, how can it be done?

Many Thanks for your help!

Regards
Marcel
Marcel Rossi
Top achievements
Rank 2
 answered on 08 Jul 2010
2 answers
118 views
Hello Group,

I'm attempting to use the GridCalculatedColumn to negate a number coming from my DB but i'm having some troubles.

Telerik.Web.UI version = 2009.3.1314.35

My aspx markup is
<telerik:GridCalculatedColumn UniqueName="VisitAmountCol" HeaderText="Visit Amt."
DataFormatString="{0:C}"  Expression="{0}*-1"
DataFields="visit.visitcost" />

This markup throws the following exception.
Exception Details: Telerik.Web.UI.ParseException: ')' or ',' expected


Any help is greatly appreciated.
Many Thanks!
Will



Will Skelton
Top achievements
Rank 1
 answered on 08 Jul 2010
4 answers
454 views
I've got a gridview (regular one, not radgrid) with a radcombobox in a data column (read: there'll be many on the page, one per row). Its server ID is "ddProduct" for example. I need to be able to access and change the value of a specific row's dropdown via javascript.

I know how to change the selected value via JS using the $find() function, but I am having trouble handling the fact that there are many of this radcombobox with the same server id.

I do have some ways of identifying what row's ddProduct I want to change via javascript, but I'm not sure how I can utilize that in the $find() function...

Any advice?
Jan Peek
Top achievements
Rank 1
 answered on 08 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?