Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
399 views
Hello,

I have a placeholder inside an update panel as showing in the below Code block.
<tr>
<
td>
<
asp:UpdatePanel ID="UpdatePanel36" runat="server" UpdateMode="Conditional">
<
ContentTemplate>
<
asp:PlaceHolder runat="server" ID="Fields">
</
asp:PlaceHolder>
</
ContentTemplate>
<
Triggers>
<
asp:AsyncPostBackTrigger ControlID="DropDownList2" />
</
Triggers>
</
asp:UpdatePanel>
</
td>
</
tr>
I dynamically create some Comboboxes as showing below
.....
Dim dropDownList As DropDownList
dropDownList =
New DropDownList
dropDownList.ID = array_action_ids(i)
dropDownList.Visible =
True
dropDownList.DataSourceID =
"SqlDataSource2"
dropDownList.DataTextField =
"LEGAL_PHONE_NUMBER"
dropDownList.DataValueField =
"LEGAL_PHONE_ID"
Fields.Controls.Add(GetLiteral("<td>"))
Fields.Controls.Add(dropDownList)
Fields.Controls.Add(GetLiteral(
"</td>"))
.....

I also have a submit button.
I want to get the selected value of the dropdownlist when the button is clicked.

I tried
Dim dropdownlist_phone As DropDownList = CType(Fields.FindControl("DropDownList_Phone"), DropDownList)

but it didn't work. I also tried
Dim temp_Placeholder as Placeholder = CType(UpdatePanel36.FindControl("Fields"), Placeholder)
Dim
dropdownlist_phone As DropDownList = CType(temp_Placeholder.FindControl("DropDownList_Phone"), DropDownList)

but it didnt either work.
The controls of the Fields placeholder seems to be nothing in both approaches.

Could you please help me?

Thanks in advance,
Peny

Peny
Top achievements
Rank 1
 answered on 05 Jul 2011
9 answers
463 views
Hi ,
I am using rad tab strip and rad multi page view .On click of particular tab i want to show a particular aspx page .
with tab strip remaining static,it should not navigat away on a separate page .
Each multi page should hold a separate aspx page
Dimitar Terziev
Telerik team
 answered on 05 Jul 2011
1 answer
60 views
Hi Guys,

I'm getting this error when I start to use the RadEditor inside the RadGrid: I created a dummy web page and the RadEditor was totally functional, so I cut and paste it into the RadGrid on another page and the resulting error is happening. What could be the problem?

Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'telerik:RadEditor' is of type 'Telerik.Web.UI.RadEditor'.

William
Rumen
Telerik team
 answered on 05 Jul 2011
3 answers
63 views
Hi Telerik Support

I'm trying to use the Drag and Drop functionality of the RadListBox in my project but without success.

I have looked at the demonstration page which works fine. However when I created a new aspx file in my VS2010 project and copied the demonstration code into it, the Drag and Drop functionality did not work - the transfer buttons did work.
I am developing using Visual Studio 2010 on Windows 7 (SP1) and using .NET4 with RadControls ASP.NET AJAX Q2 2010.

I would welcome any suggestions.

Many thanks

Len Jones
Genady Sergeev
Telerik team
 answered on 05 Jul 2011
1 answer
111 views
OK, excuse this question if it's a simple solution. I'm not a code monkey and have limited experience with Sharepoint development. I was tasked with adding a Wiki to my company's current Sharepoint site. Easy enough with the existing Wiki built in.

The user's of the site want to be able to insert a link into a wiki page that will open a pop up window and display some text. I know how to create a pop up with Javascript or HTML but don't know how to implement it as a toolbar button that a user can click enter some text for the displayed link and then enter the text that will be displayed in the pop up window. It looks like i should be able to do this with RadEditor Lite but I'm a little lost. If anyone can offer some help it would be appreciated.

Thank you,

Eric
Stanimir
Telerik team
 answered on 05 Jul 2011
1 answer
252 views
Hello,

I have a RadAjaxManager which fires FileUploaded when the file is uploaded, but when I do a postback, the event is fired another time !

How can I specify that I only want the ajax feature (I do a SaveAs() in FileUploaded, so when the second event is fired, it throw an error)

Thank you in advance !
Peter Filipov
Telerik team
 answered on 05 Jul 2011
3 answers
119 views

Hello ,

i have a dynamically created raddock , ( from the example)  but i have set is radDockZoneID  to " " so it would be floating once it is created , i want to creat a command that makes it docked back when clicked, and if its docked it will return to its floating position again ?
Slav
Telerik team
 answered on 05 Jul 2011
1 answer
135 views
Hi,

When setting custom attributes server-side, it seems like IE9 leaks some memory when posting an updatepanel.

Sample:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="menumem.aspx.vb" Inherits="WebApplication4.menumem" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="ccc" runat="server">
    </telerik:RadScriptManager>
    <div>
        <asp:UpdatePanel ID="up" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:Button ID="aa" runat="server" Text="Hit me multiple times" />
                <telerik:RadMenu ID="rm" runat="server">
                    <Items>
                        <telerik:RadMenuItem Text="Test">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Test">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Test">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Test">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Test">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Test">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenu>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>

Code behind:
Public Class menumem
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        For Each rmi As Telerik.Web.UI.RadMenuItem In rm.Items
            rmi.Attributes("test") = New String("c"c, 200000)
        Next
    End Sub
 
End Class

I have increased the size of the attribute that is set just to make the memory leak more obvious.
Each button click in this sample seems to leaks some memory, at least in IE9-mode!

In our real world application, we do notice this memory leak since we have a top menu that is always updated with updatepanel. The entire application (page) is very rarely reloaded in our application.

Regards
Caesar
Plamen
Telerik team
 answered on 05 Jul 2011
3 answers
171 views

Hi All,
i have a page in which i am using RadSplitter controls to design my page...
it has two panes header and content panes....
the content pane also has annother splitter which has left and right panes....
the left and right panes has different conent url that will call different pages.

in the left page i am using Rad treeview to get data from database....
i need to load the corresponding navigate url of the node clicked in the right pane which is in the parent page.

i tried to set the following code in the NodeClick event from code behined but nothing happene!!!

e.Node.Target = "ContentPane";

i don't know how to access the right RadPane of the parent page from the child left rad pane!!!

i will be very gratefull for any help...

Thanks
Asa'ad

Asa'ad
Top achievements
Rank 1
 answered on 05 Jul 2011
1 answer
65 views
I have a radgrid which is inside a nestedview. It has an autogenerated Delete button....when clicked, it works great and the grid is refreshed. However, when I "Insert" a new record, the DB is correctly updated but the grid is not refreshed. If I click the refres button on the grid, then all is well again.

Can someone explain why this might happen, and how I might fix it?

Thanks
Shinu
Top achievements
Rank 2
 answered on 05 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?