Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views

Before (this is to align the table itself, NOT the text inside)

<table align=right>
    <tr>
        <td>asdf
       </td>
    </tr>
</table>

After editing with 2008.3 1125, it aligns the text inside right and the table itself is not aligned to the right.

<table style="text-align: right">
    <tbody>
        <tr>
            <td>asdf</td>
        </tr>
    </tbody>
</table>

Is this issue fixed in mid January release (2008.3 1314) ?

I see this item in the Release History of 2008.3 1314:

  • Fixed a problem with the align attribute of tables.

Please let me know.

Thanks, Lakshman

Lakshman
Top achievements
Rank 1
 answered on 19 Feb 2009
1 answer
73 views
Hi All,

I have Added Insert Snippet inside the ContextMenu.
But I always keep getting Error Object required....in javascript.


OnClicking on it i get this error.

Rumen
Telerik team
 answered on 18 Feb 2009
6 answers
382 views
Hello,

and what if I want to programmatic add a new column to an existing Detail Table?

something like that.

<MasterTableView> 
   <detailtables> 
        <Gridtableview> 
 
            <columns> 
              <gridboundcolumn></gridboundcolumn> 
              <gridboundcolumn></gridboundcolumn> 
              <gridboundcolumn></gridboundcolumn> 
 
                How to insert more columns here, using the code behind? 
 
            <columns> 
        <gridtableview> 
 
   </detailtables> 
 
<columns>......</columns> 
<MastertableView> 

I used this successfully to add to the master table, but I cant add to the detail table.

                GridBoundColumn boundColumn; 
                boundColumn = new GridBoundColumn(); 
                RadGrid1.MasterTableView.Columns.Add(boundColumn); 
                boundColumn.DataField = "valor"; 
                boundColumn.HeaderText = "Valor"; 
                boundColumn.UniqueName = "valor"; 
                boundColumn.DataFormatString = "{0:R$###,###.##}"; 
How can I do the same with DETAILTABLES ?????

Thanxs
Bruno
Top achievements
Rank 1
 answered on 18 Feb 2009
2 answers
146 views

Hello,

I have one problem regarding changing the Index of the Dropdownlist.

I have one Asp:Dropdownlist. And on the change of the Index of the dropdownlist, I am using Rad - Loading Panel. And according the field selected from the dropdownlist, my other controls like Textbox, Radiobutton & Date Pickers are being visible and Invisible.

But the prolem is the loading panel is seen along with the control which is already seen right now.

My requirement is when I change the value in the dropdownlist, the loading panel only should be visible and after the loading panel disappers, the controls should appear. How can I do this.

Dev D
Top achievements
Rank 2
 answered on 18 Feb 2009
6 answers
457 views
Hi,

Just upgraded to the Premium Suite for some Xmas development work.

I have created a server-side control that renders a TreeView whose nodes are set to be populated on Callback.
On expanding the first node, I have the following error message popping up:

The target 'ctl00$ctl01$mainContentArea$treeNavigation$kbTreeView' for the callback could not be found or did not implement ICallbackEventHandler.

My server-side control is below:

 
    [DefaultProperty("Text")] 
    [ToolboxData("<{0}:KnowledgeBaseTree runat=server></{0}:KnowledgeBaseTree>")] 
    public class KnowledgeBaseTree : WebControl, ICallbackEventHandler 
    { 
 
 
// ... snip ... 
 
        protected override void CreateChildControls() 
        { 
// ... snip  ... 
 
Controls.Add(BuildContentTreeView(baseUrl,session)); 
 
         
        } 
 
        private RadTreeView BuildContentTreeView(string baseUrl, ISession session) 
        { 
 
// ... snip ... 
            RadTreeView radTreeView = new RadTreeView(); 
            radTreeView.NodeExpand += new RadTreeViewEventHandler(radTreeView_NodeExpand); 
            radTreeView.ID = "kbTreeView"; 
 
            IPost[] posts = _cachedBinder.GetRootPosts(null, TimeSpan.Zero); 
 
                foreach (IPost post in posts) 
                { 
 
// ... snip ... 
                        RadTreeNode radTreeNode = new RadTreeNode(post.Title, post.ID.ToString(), postUrl + ".aspx"); 
                                }                        
            return radTreeView; 
        } 
 
        void radTreeView_NodeExpand(object sender, RadTreeNodeEventArgs e) 
        { 
            Guid postId = new Guid(e.Node.Value); 
 
// ... snip ... 
                    // get child nodes 
                    IPost[] childPosts = selectedPost.GetChildPosts(null, TimeSpan.Zero); 
                    foreach (IPost childPost in childPosts) 
                    { 
                        string childPostUrl = Path.Combine(basePostUrl, childPost.UrlKey); 
                        RadTreeNode childTreeNode = new RadTreeNode(childPost.Title, childPost.ID.ToString(), childPostUrl + ".aspx"); 
                        childTreeNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; 
                        childTreeNode.Nodes.Add(childTreeNode);                          
                    } 
        } 
 
 
} 
 
 

The serverside control KnwoeldgeBaseTree (represented by the class above) is within the Page as usual:

<KB:KnowledgeBaseTree id="knowledgeBaseTree" runat="server" />

So, as far as I know, I'm in the right place as far as the page lifecycle is concerned.

I've also tried rendering the tree in the Init stage of the server control. No change.

Can you please help me fix this?

Suraj
Top achievements
Rank 1
 answered on 18 Feb 2009
2 answers
122 views
I'm having an issue with Editor content area height with firefox..
this is what I got:
<telerik:RadEditor runat="server" ID="trdEmailFooter" Width="600px" Height="100"
                        EditModes="Design" ToolbarMode="ShowOnFocus" EnableResize="true" AutoResizeHeight="True"
                        BorderStyle="None" ToolsWidth="315px" Skin="Telerik" OnTextChanged="trdEmailFooter_TextChanged"
                        AllowScripts="true">
                        <Content>
</Content>
                        <Tools>
                            <telerik:EditorToolGroup>
                                <telerik:EditorTool Name="Bold" />
                                <telerik:EditorTool Name="Italic" />
                                <telerik:EditorTool Name="Underline" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="ForeColor" />
                                <telerik:EditorTool Name="BackColor" />
                                <telerik:EditorSeparator />
                                <telerik:EditorTool Name="FontName" />
                                <telerik:EditorTool Name="FontSize" />
                            </telerik:EditorToolGroup>
                        </Tools>
                    </telerik:RadEditor>

ISSUES:

1- On Firefox (widows and mac) the content area is shorter the it's set.. when I do a postback (ajax) the content box fits okay
2- On Firefox (only mac) when a partial post back is done (ajax) when I do focus I don't see the toolbar anymore (when I sat the toolbarmode="default") I can see toolbar but can't change font style..

please help


ataya
Top achievements
Rank 1
 answered on 18 Feb 2009
0 answers
109 views
I'm confused by the problem I'm having. I have a PanelBar for navigation and a RadUpload control. When I mouse over the panelbar, it makes the textbox in the RadUpload disappear. Please help, soon! :(
e
Top achievements
Rank 2
 asked on 18 Feb 2009
2 answers
115 views
i have a radtree with checkboxes.

now , i want when i click on a particular checkbox,"category id" of that check is fecth up,

 and how can we attached checkboxs to database??

please help
sahil
Top achievements
Rank 1
 answered on 18 Feb 2009
3 answers
173 views

i would like to develop a hierarchical grid view programmatically. The firstrow(masterTableview) im adding it at design time.
Im doing that using the code below, but its not adding the griddesignview(children for the first row) Does anyone see whats wrong with the code im using here:
Master.ParentlocationID is matched to TableView.LocationID, im also using a dataset as my datasource.

 

adapter.Fill(dsData);

 

 

 

 

 

GridTableView tableSubLocation = new GridTableView(rdgLocation);

 

rdgLocation.MasterTableView.DetailTables.Add(tableSubLocation);

tableSubLocation.DataSource = dsData;

 

 

 

 

 

tableSubLocation.Width =

 

 

 

 

Unit.Percentage(100);

 

 

 

 

 

 

GridRelationFields relationFields = new GridRelationFields();

 

tableSubLocation.ParentTableRelation.Add(relationFields);

relationFields.MasterKeyField =

 

 

 

 

"LocationID";

 

relationFields.DetailKeyField =

 

 

 

 

"ParentLocationID";

 

 

 

 

 

 

GridBoundColumn boundColumn;

 

boundColumn =

 

 

 

 

new GridBoundColumn();

 

tableSubLocation.Columns.Add(boundColumn);

boundColumn.DataField =

 

 

 

 

"LocationID";

 

boundColumn.HeaderText =

 

 

 

 

"LocationID";

 

boundColumn =

 

 

 

 

new GridBoundColumn();

 

tableSubLocation.Columns.Add(boundColumn);

boundColumn.DataField =

 

 

 

 

"Location";

 

boundColumn.HeaderText =

 

 

 

 

"Location";

 

 

Bruno
Top achievements
Rank 1
 answered on 18 Feb 2009
1 answer
96 views
Hi,
i've three sliders in my page. After selecting a value in the first, the list of selectable value in the second changes. After selecting a value from the second slider the list of selectable values in the third changes. I tried putting slider2 and slider3 in an updatepanel each, but when i change value from the first slider, the second slider disappears.

How can i do it?
thanks,
Marco
Tsvetie
Telerik team
 answered on 18 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?