Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
94 views
Just a thought, as I'm passing...

Rather than having to say:
RadTreeView1.Checkboxes = true
RadTreeView1.TriStateCheckBoxes = true 

and having the inherent danger of trying to enable tristate check boxes without first enabling checkboxs, wouldn't it be better to have an enum...
public enum RadTreeNodeCheckBoxMode {None, Bistate, TriState}; 

and simply get rid of the TriStateCheckBoxes property?

As I say, just an idle thought.

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 25 Sep 2009
6 answers
318 views

Hi.  I have the following code using a RadGrid that contains three fields of GridDropDownList columns.  I want to control the width of the columns in edit mode (the edit DDLs are too wide if not), so I created a number of GridDropDownListColumnEditors and declaratively set the width of each.  The problem is that when I use the column editors, the grid renders correctly except for the first data row, in which the dropdownlist columns are not rendered.  This error does not occur with the BoundColumn fields (also under the control of a ColumnEditor).  When I put the first row into edit mode, then the dropdown list coulmns display.  When I close the editing (either cancel or accept), the text continues to display and does thereafter.  Only on initial loading of the grid and only on the first row do I see this problem.  And if I remove the references to the DropDownListColumnEditors, then all rows display correctly all the time (but then I still have the width problem).  Can you help?  Thanks!

Tom Stanley

    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="sdsCRNAShifts" GridLines="None" Skin="Simple" 
        AutoGenerateColumns="False" AllowAutomaticUpdates="True" AllowAutomaticInserts="True" PageSize="128" Width="100%" AllowSorting="True" > 
        <MasterTableView DataSourceID="sdsCRNAShifts" CommandItemDisplay="TopAndBottom" DataKeyNames="shiftID" EditMode="InPlace" > 
            <Columns> 
                <telerik:GridCheckBoxColumn DataField="active" HeaderText="active" UniqueName="active" AllowFiltering="False" AllowSorting="False">  
                    <HeaderStyle Width="20px" /> 
                </telerik:GridCheckBoxColumn> 
                <telerik:GridDropDownColumn DataField="shiftType" DataSourceID="XmlDataSource1"  HeaderText="Type" 
                    ListValueField="ID" ListTextField="Text" UniqueName="shiftType" ColumnEditorID="GridDropDownListColumnEditor1" > 
                    <ItemStyle Width="60px" /> 
                </telerik:GridDropDownColumn> 
                <telerik:GridBoundColumn DataField="shiftName" HeaderText="Name" UniqueName="shiftName" ColumnEditorID="GridTextBoxColumnEditor1" > 
                    <HeaderStyle Width="120px" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="shiftDescr" HeaderText="Description" UniqueName="shiftDescr" ColumnEditorID="GridTextBoxColumnEditor2" > 
                    <HeaderStyle Width="200px" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridDropDownColumn DataField="bOff" DataSourceID="sdsTimeText" HeaderText="BeginTime" ListTextField="timeText" 
                     ListValueField="numMins" UniqueName="bOff" ColumnEditorID="GridDropDownListColumnEditor2" > 
                    <HeaderStyle Width="100px" /> 
                </telerik:GridDropDownColumn> 
                <telerik:GridDropDownColumn DataField="eOff" DataSourceID="sdsTimeText" HeaderText="EndTime" ListTextField="timeText" 
                     ListValueField="numMins" UniqueName="eOff" ColumnEditorID="GridDropDownListColumnEditor2" > 
                    <HeaderStyle Width="100px" /> 
                </telerik:GridDropDownColumn> 
                <telerik:GridEditCommandColumn ButtonType="ImageButton">  
                    <HeaderStyle Width="50px" /> 
                </telerik:GridEditCommandColumn> 
            </Columns> 
       </MasterTableView> 
        <ClientSettings> 
            <Selecting AllowRowSelect="True" /> 
        </ClientSettings> 
    </telerik:RadGrid> 
    <telerik:GridDropDownListColumnEditor ID="GridDropDownListColumnEditor1" runat="server" DropDownStyle-Width="60px" /> 
    <telerik:GridDropDownListColumnEditor ID="GridDropDownListColumnEditor2" runat="server" DropDownStyle-Width="100px" /> 
    <telerik:GridTextBoxColumnEditor ID="GridTextBoxColumnEditor1" runat="server" TextBoxStyle-Width="120px" /> 
    <telerik:GridTextBoxColumnEditor ID="GridTextBoxColumnEditor2" runat="server" TextBoxStyle-Width="200px" /> 
  
 

Veselin Vasilev
Telerik team
 answered on 25 Sep 2009
3 answers
534 views

Hi all,

 

I'm using the web.sitemap as the source for the RadMenu and would like to also have a small icon (.gif/.jpg) to the menu items. I've seen examples of either all images or just with the sitemap.  Does anyone have an integrated example?  Telerik's Courseware showed a great potential use of it with a graphic icon next to the sub item but no code sample.

Thank you very much.

Atanas Korchev
Telerik team
 answered on 25 Sep 2009
3 answers
277 views
Hello,
i am evaluating the RadEditor control for ASP.NET AJAX with the last release. When I try to insert an template via the Template Manager, i receive an error message Access is denied. In Visual Studio i can see it happens in the function getResult : function() in the line return this._currentTemplateItem.contentWindow.document.body.innerHTML

the template is a normal HTML document whith a single word in the body element.

with best regards
Meik Napierski

 

 

Rumen
Telerik team
 answered on 25 Sep 2009
1 answer
106 views
Hi,

    We recently upgraded to the latest version of the rad editor and the opacity in the Image Editor is not avaliable for JPGs.  Is this by design?  It was availble in the previous release.

Thanks,

Dave
Rumen
Telerik team
 answered on 25 Sep 2009
1 answer
45 views
Hi,

I couldn't find any info on site about policy for localization component suites. Is Telerik has any effort to localize suites to a language other then English or is there any community effort? At code library, I found so called "Localization Providers" for winforms and some resx files for asp.net but I don't want to believe that this is all we have. Is anyone knows some kind of browsable repository or organized effort for localization files?

Thanks,
Enver
Ivo
Telerik team
 answered on 25 Sep 2009
1 answer
110 views
Hello,

We have a ASP.NET Application using Telerik Ajax components. Everything works fine in our own SharePoint Farm with one Web Front-End but when testing same Application in user's environment where a Farm has multiple Web Front-Ends problems arises.

For example Ajax stops working suddently. E.g. Ajax based actions in Grids works only once and launching and closing a Ajax based Popup Window  seems to stop Ajax working.

Does anyone know what has to be configure differently when Ajax based Application is running with multiple Web Front-Ends?
What could cause this kind of behavior?

Cheers,

Michael 
Vesko
Top achievements
Rank 2
 answered on 25 Sep 2009
1 answer
59 views
Hi,

I have an application with telerik aspx controls (hosted in rackspacecloud.com), this was working very well, but yesterday the host provider change the security level and set medium security level, and my application crash and now send an internal server error.
Local works fine!!!

any suggestions?

Best Regards
Jose Miguel Vasquez Elizondo
Ivo
Telerik team
 answered on 25 Sep 2009
1 answer
245 views
I have a grid on my page which takes a while to load. How do I show my loading panel while the data is being loaded?
Shinu
Top achievements
Rank 2
 answered on 25 Sep 2009
1 answer
114 views
I am trying to check the value of the checkbox in a ItemTemplate in the GridTemplateColumn.  If you notice on line 3, this is what I'm attempting to accomplish.  I know it cannot be done this way, but how might I be able to do it.

if (col.UniqueName == "SelectedLineItems") 
                    { 
                        if (dataItem[col.UniqueName].Checked) 
                    { 
                        if (col.UniqueName == "colCatalogNumber") 
                    { 
 
                       if (dataItem[col.UniqueName].Text == this.txtFindColor.Text) 
                            dataItem[col.UniqueName].Text = this.txtReplaceColor.Text; 
                        { 
                            if (dataItem[col.UniqueName].Text == this.txtReplaceColor.Text) 
                                dataItem[col.UniqueName].ForeColor = System.Drawing.Color.Crimson; 
                        } 
                    }    
                        } 
                    } 


Shinu
Top achievements
Rank 2
 answered on 25 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?