Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
1.0K+ views
Hi all,
how do i hide a grid command item display if a certain condition  is met in the code behind? Is this possible?

Thanks in advance.
Nuno
Top achievements
Rank 1
 answered on 22 Sep 2009
1 answer
129 views
I want to show a column in radgrid which shows a running number.
or if there is any method by which i can show a column which shows the row number?
i don not want to use database for showing this column..
plz help
Shinu
Top achievements
Rank 2
 answered on 22 Sep 2009
1 answer
336 views
want to refresh the radgrid on page postback ? how to reresh the radgrid

its urgnettttttt
Princy
Top achievements
Rank 2
 answered on 22 Sep 2009
1 answer
103 views
Hi,
The image manager doesn't show any images or directories, what have I missed?

        RadEditor newEditor; 
 
        protected void Page_Load(object sender, EventArgs e) 
        { 
            newEditor = new RadEditor(); 
            newEditor.ImageManager.ViewPaths = new string[]{"/media"}; 
        } 
 
        protected void radMultiPageMonitorNews_PageViewCreated(object sender, RadMultiPageEventArgs e) 
        { 
            e.PageView.Controls.Add(newEditor); 
        } 


Mattias
Top achievements
Rank 1
 answered on 22 Sep 2009
3 answers
86 views
Hi!

We are using the editor in Firefox and IE.  It works great in IE7 and 8.  Many of our users use Firefox also.  These editors are in an AjaxExtender Modal Popup. 

In FF, the editor shows vertically very short and mis-shapen.  If I click on one of the bottom buttons (HTML or preview), then the control sizes correctly!

My co-worker found a work-around script to help with this...
        function OnRadEditorClientLoad(editor, args) {  
            if (!document.all) {  
                window.setTimeout(function() {  
                    var editorIframe = $get(editor.get_id() + "Wrapper").getElementsByTagName("iframe")[0];  
                    editorIframe.style.height = "20px";  
                    editor.setSize(415, 55);  
                }, 100);  
            }  
 
            var style = editor.get_contentArea().style;  
            style.backgroundImage = "none";  
            style.backgroundColor = "white";  
        }  
 

However, this doesn't work.  I've played with the height and size values to no avail. 

The weird part is that when I click on one of the Change Edit buttons (tabs) then the control sizes correctly.

Any thoughts?  Is this a bug? 

Thanks In Advance
Rich
Rumen
Telerik team
 answered on 22 Sep 2009
3 answers
228 views
I have a RadWindow which inserts a new record in a database. When I finish the insert and close the window, I want the new item to be added/refreshed to an existing DropDownList on the Parent page.

How would I do this (without the parent page requiring a postback)?
Shinu
Top achievements
Rank 2
 answered on 22 Sep 2009
1 answer
130 views
Hello,

I get an  error in IE8 when I change selection in a RadComboBox which has several RadTabStrip/RadMultipage Ajax dependancies.
This was working recently may be related to new 2.828 version.


Any idea ?

Here is the error in fernch
<<
Détails de l’erreur de la page Web

Agent utilisateur : Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 3.0.30729)
Horodateur : Wed, 16 Sep 2009 11:50:44 UTC

Message : Accès refusé.

Ligne : 1236
Caractère : 1
Code : 0
URI : http://web01.local:5052/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ADNScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2009.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen%3ad2d891f5-3533-469c-b9a2-ac7d16eb23ff%3a16e4e7cd%3aed16cbdc%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a39040b5c%3af85f9819%3a33108d14%3abd8f85e4%3a86526ba7%3a1e771326%3aaa288e2d%3ae330518b%3a8e6f0d33%3a6a6d718d%3a63b115ed%3a1569bb5f%3adc7e0bd%3a1c565fc%3ac408cfaa

 >>


Thanks  for help.
CS

Veselin Vasilev
Telerik team
 answered on 22 Sep 2009
3 answers
119 views
Hi all,
Could someone confirm that Rad editor for MOSS will work on a 64 bits version of MOSS ?

Regards
Stéphane Palluet
Stanimir
Telerik team
 answered on 22 Sep 2009
1 answer
74 views
Hi,

I have a combobox in the edititemtemplate of two of my grid cloumns.  How can I relate the two, so that the second combo box gets refreshed everytime the value of the first combo box is changed?  Please note that both there columns are defined as edititems.  The edit mode for the MasterTableView is "inplace."

Your early reply will be greatly appreciated.

Thanks.

Suresh
Princy
Top achievements
Rank 2
 answered on 22 Sep 2009
0 answers
107 views
I have created a custom skin using Visual Style Builder, but I can't figure out a way to register this skin to my project.
I'm basically using RadMenu on MOSS Top Navigation control.
I've tried setting EnableEmbeddedSkins to false and even adding the following lines of code.  
            HtmlLink link = new HtmlLink();
            link.Href = "~/_layouts/Styles/Menu.Custom.css";
            link.Attributes.Add("type", "text/css");
            link.Attributes.Add("rel", "stylesheet");
            Page.Header.Controls.Add(link);
First I'm not sure where to put the css file.
I've looked at the Registering Custom Skin page on Telerik site and I've tried adding css reference to the MasterPage and the C# file.
Currently I have a C# project that creates the navigation control, and this is registered in the MasterPage along with the Telerik Tag Prefix.
I can have one of the built-in skins come up as the menu in my SharePoint site, it's just that I cannot register the custom skin I created using Visual Style Builder.
Could you possibly walk me through the basic steps of the following:
1. Where to add the css file (and its image folder)
2. What Iines I need to add in the C# project.
3. If I need to make any changes in the MasterPage file.

Please let me know if I need to make this more clear.
Thank you so much for your help!
spcrmcnst
Top achievements
Rank 1
 asked on 22 Sep 2009
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?