Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Hello,

I am giving a try on using dropdownlist controls inside RadFilter, using some samples for RadFilterDropDownEditor. I've passed the samples to my project and it works fine except for the following.
RadFiler is "connected" to a Grid, where data is shown.
You choose your filter expression. You can add "dropdownlisted" fields, normal fields or both.
When pushing the "Apply" button, the grid gets filtered (all goes right) and the normal fields in filter mantain their value. However, the "dropdownlisted" fields (sorry for the name) get converted into textboxes, with dordown's selected value inside.
If you, then, add another expression (anyone), "dropdownlisted" fields convert again in dropdownlists, but loose selected value.

I've been analysing differences between your code and mine, and the only thing that could make the difference is tha I've got an Ajax manager, that manages filter's and grid's postbacks (and other controls').

Do you have any idea about what I am doing wrong?

Thaks in advance
Mira
Telerik team
 answered on 05 Jul 2011
1 answer
130 views
Hi,
i have a RADToolTipManager in my web page. The problem i am facing is that after the web page loads, the pointer of the tool tip shifts to the left of the target control by around 50px.
<telerik:RadToolTipManager ID="InvoiceToolTipManager" runat="server" Position="TopCenter"  EnableShadow="true" Animation="Fade" RelativeTo="Element" Skin="Web20" CssClass="toolTip" AutoCloseDelay="30000">
        <WebServiceSettings Method="GetToolTipData" Path="/Help/ToolTipService.asmx"/>
/telerik:RadToolTipManager>

I have read in some posts that this is probably because the tool tip manager does not have a width defined. The problem i have is that the data is for Help text and i do not want to go with a fixed width.
So is it possible to have a flexible width for the control based on the length of the text that is coming from the target web service?

Ullas
Marin Bratanov
Telerik team
 answered on 05 Jul 2011
3 answers
141 views

If dataitem.ItemIndex() = 1Then

If d
ataitem(columnName(1)).Text <>"nbsp" Then

link.Font.Underline = True

 

link.Text = dataitem(columnName(1)).Text

link.NavigateUrl = HyprUrl + monthyear(1)

dataitem(columnName(1)).Controls.Add(link)

End If

 


If
dataitem(columnName(2)).Text <> "nbsp" Then
l
ink.Font.Underline = True

link.NavigateUrl = HyprUrl + monthyear(2)

link.Text = dataitem(columnName(2)).Text

dataitem(columnName(2)).Controls.Add(link)

End If

 

If dataitem(columnName(3)).Text <>"&nbsp" Then

link.Font.Underline = True

 

link.NavigateUrl = HyprUrl + monthyear(3)

link.Text = dataitem(columnName(3)).Text

dataitem(columnName(3)).Controls.Add(link)

end if

 

 

Daniel
Telerik team
 answered on 05 Jul 2011
4 answers
486 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
515 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
80 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
79 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
142 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
284 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
152 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?