Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
107 views
hello forum
I'm create a web site and use a radtabStrip in our page and on the tabstrip use Ifram and this ifram load a other site .
In Other site I'm create a masterPage and use radmenu  and this site load in Ifram On tabstrip , but when i go the next tab and return current tab rad menu is jumping to left page and when mouse over the ifram menu is back to orginal position
please help me .
ebrahim
Top achievements
Rank 1
 asked on 23 Nov 2008
0 answers
97 views
Hi all,

I am unable to get around this situation, and need some suggestions...

There is a RadTreeView, which I am filling at runtime wtih some TreeNodes. These Treenodes have some extra controls added to them, and it all comes up fine in the first go. Hoiwever, If I add more nodes to the same treeview, the previously added nodes loose their control collection, and only the newly added nodes have the controls to them... New nodes are being returned to the page through a callback.

I dont understand, why on a callback the nodes are loosing their controls collection, if they are, why just the contorl collection?

Please help me figure this out or fix this....
Samir Gulrajani
Top achievements
Rank 2
 asked on 23 Nov 2008
3 answers
226 views
Hello,

I am trying to do paging with client side data binding.

masterTbView.set_dataSource(result);

masterTbView.dataBind();

masterTbView.set_virtualItemCount(1000);

....

but the set_virtualItemCount() doesn't have any effect at all. On the footer it always give me Page 1 at all.
I tried the example on your site it works fine.

Just wonder if you can give us some hints on this issue, like what attribute we should turn on, or what event handler we should implement?

Thank you very much,
Elton

 

Roatin Marth
Top achievements
Rank 1
 answered on 23 Nov 2008
1 answer
100 views
Hello,

I've setup the Telerik grid to auto generate columns from a data table I bound to it.  I have inplace editing setup for this grid, but programmatically I make the first two columns readonly.  So for the rest of the columns (dynamically generated in the data table), I allow the user to edit those.  I make all the rows editable using the following trick:  http://www.telerik.com/help/aspnet-ajax/grddefaulteditmodeforgriditemsoninitialload.html which works well.

Is there a way to be able to use the column in order to find the cell?  What I don't want to do is to hard-code cell indexes for each item that I want to access in code-behind....  is there a way to easily get the cell index for the city column?

Thanks.
SamJ
Top achievements
Rank 1
 answered on 22 Nov 2008
1 answer
110 views
Hello,

I currently have a RadGrid with two GridTemplateColumns with dropdowns. When the first dropdown is changed I need the items in the second dropdown to change based on what was selected in the first. What is the best way to do this from the codebehind? I have the column section of my code shown below. Thanks in advance.
-------------------------------------------------------------------------------------------
 <telerik:GridTemplateColumn UniqueName="ClientName" HeaderText="Charge To">
                                <ItemTemplate>
                                    <%# Eval("ClientName")%>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <asp:DropDownList ID="ddlClient" runat="server" DataTextField="ClientName" DataValueField="ClientId"
                                        DataMember="ExpenseId" OnSelectedIndexChanged="ddlClient_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn UniqueName="DepartmentName" HeaderText="Department" DataField="DepartmentId">
                                <ItemTemplate>
                                    <%# Eval("DepartmentName")%>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <asp:DropDownList ID="ddlDepartment" runat="server" DataTextField="DepartmentName"
                                        DataValueField="DepartmentId">
                                    </asp:DropDownList>
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
-------------------------------------------------------------------------
SamJ
Top achievements
Rank 1
 answered on 22 Nov 2008
1 answer
89 views
Hi ,

        I'm using master and contentpage in my project. In content page i use RadGrid. I followed the demos.telerik.com example to code radgrid. When i click Add New Record or Edit i see textbox poping up after giving inputs and when i click Update or Save i'm unable to reterieve values in code behind. Please help me out how to get ride of this scenario..


Thanks!
Happy Coding...
SamJ
Top achievements
Rank 1
 answered on 22 Nov 2008
6 answers
304 views
Hi..
I need to add an AlertTemplate to add an ALERT()
that displays a modal window and stops  program execution from the code behind  - until the Alert is clicked.
How do I do this?
Thanks!
mayank
Top achievements
Rank 1
 answered on 22 Nov 2008
5 answers
154 views
Hi

We are using a custom defined skin on our grid and the context menu for the filtering is not getting the skinning information supplied.  Its still looking for the Default skin.

How do we get the filter/context menu to recognize our custom skin?

Thanks
Mark
Top achievements
Rank 2
 answered on 21 Nov 2008
2 answers
103 views
Since i have upgrade to SP1 i had this a javascript error:

if(this._owner._gridDataDiv){ 
this._rowSelectorArea.style.top=Telerik.Web.UI.Grid.FindPosY(this._firstRow)-this._owner._gridDataDiv.scrollTop+"px"; 
this._rowSelectorArea.style.left=Telerik.Web.UI.Grid.FindPosX(this._firstRow)-this._owner._gridDataDiv.scrollLeft+"px"; 
if(parseInt(this._rowSelectorArea.style.left)<Telerik.Web.UI.Grid.FindPosX(this._owner.get_element())){ 
this._rowSelectorArea.style.left=Telerik.Web.UI.Grid.FindPosX(this._owner.get_element())+"px"; 

at line 3... 
Telerik.Web.UI.Grid.FindPosX(this._firstRow) return NaN and trig Invalid argument error

Call stack = JScript anonymous function...

Bug only if AllowMultiRowSelection="true"

Help please!
Jack
Top achievements
Rank 1
 answered on 21 Nov 2008
4 answers
150 views
Hi,

Can anyone tell me how to access attributes assigned for a RadTreeNode in client side programming?

I tried "node.get_attributes().getAttribute("<Attr_name>"), but its returning me value as 'undefined'.

I also want to know how to get count attributes associated with a particular RadTreeNode.

Thanks,
SK
Vic
Top achievements
Rank 1
 answered on 21 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?