Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
149 views
is possible open from server radalert o radconfirm?
Svetlina Anati
Telerik team
 answered on 24 Oct 2008
3 answers
173 views
Hi guys,

Scenario:
I have a LOD treeview which displays imagecategories as well as images from these categories.

I'm using the ImageUrl property of nodes to display thumbnails and I want to display the full size images when the user hovers each thumbnail.

Problems:
Consider this code taken from the treeview_nodexpand sub:

    While dtrReader.Read() 
 
        Dim itemNode As New RadTreeNode(dtrReader("ImgName").ToString(), dtrReader("imgID")) 
        itemNode.ImageUrl = ConfigurationManager.AppSettings(Session("DB") & "imgDir") & "small_" & dtrReader("imgName"
        itemNode.ToolTip = "<img src='" & ConfigurationManager.AppSettings(Session("DB") & "imgDir").Replace("~/""../") & dtrReader("imgName") & "'/>" 
        node.Nodes.Add(itemNode) 
 
    End While 

Despite having set the AutoTooltipify property to true in the tooltipmanager it doesn't kick in in this situation.

So instead of getting the full size image as a tooltip, I simply get the string <img src=' ...

Another minor problem is that the tooltip is just applied to the node.text and not the node.image.

Any thoughts?

P.S. As an end result I would really like to use LOD for the tooltips as well, I'm just not that far into this yet.

Regards,
-DJ-



Svetlina Anati
Telerik team
 answered on 24 Oct 2008
1 answer
98 views
i have sqlserver 2000 running and my apps is built in vs2005 but i get this error when i tried to run the grid. {"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"}
Daniel
Telerik team
 answered on 24 Oct 2008
1 answer
81 views
Hi All,

I am using RadScheduler,RadTabStrip,RadMultiPage

I am using RadTabstrip contain 3 tab int it.
Tab 1-contain
RadGrid,Button1
Tab 2-Contain
RadScheduler
Tab3-Contain
RadGrid.

On page load selected tab is Tab1.
When i go from Tab1 to Tab 2 and
from Tab2 to Tab1.

When i am on Tab 1
Following are the condition

On button click i am opening radwindow popup .
On radwindow callback function i am calling doPostback to execute serverside code.

Then I Go to Tab2 (contain RadScheduler) from Tab1
RadScheduler skin get removed.

How to solve this problem?

Thanks



Peter
Telerik team
 answered on 24 Oct 2008
2 answers
178 views
Hi - I have a dynamic-data site that is using radeditor controls for data-entry. It populates the RadEditor.Content with html from our database, and the RadEditor does not seem able to render the html correctly (especially odd since the content was generated by RadEditor in the first place.) I've tried in design, html and preview modes with the same results each time (raw text) - is there a way to force radeditor to render html rather than displaying the source?
Charles
Top achievements
Rank 1
 answered on 24 Oct 2008
4 answers
431 views
Hi all,

I'm using ASPNET AJAX Q1 2008 in a C# Web Application. I need an input box where the user can type a file name that does not contain any of the characters that Microsoft Windows does not allow in a file name, specifically:
\ / : * ? " < > |

I still want to allow upper and lower case letters, numbers, and dashes. Can anyone tell me the best way to do this with RadMaskedTextBox or RadTextBox?

Thanks a bunch,

Rich Elliott
Tigard, Oregon
plamen
Top achievements
Rank 1
 answered on 24 Oct 2008
2 answers
125 views
Hi, all!

I'm using RadTextBox and modified "Default" skin, so I set EnableEmbeddedSkins="false" on the control. It works, if I simply put
 <telerik:RadTextBox /> tag on the form.

It doesn't work in more complex scenario, when I put  <telerik:RadTextBox  EnableEmbeddedSkins="false" Skin="Default" /> into a template including ASCX which contains RadTextBox.

When RadTextBox is instantiated by means of a template , it ignores EnableEmbeddedSkins="false" and loads  embedded skin. I found out it by means of Fiddler.
It includes embedded CSS by:
http://ws-fedorov/SbConsole/WebResource.axd?d=m5DJ8_QrxCxO154OZA_BcuSk3Mizu6JaUpbaqBLqqb6AGYjsf4vSnIZ3P6ICHeythsE1uCgv2V1TtQlGLqIZmw2&t=633463791520000000

Who knows, how to overcome this erroneous behavior?

Thanks
Alexey
Top achievements
Rank 1
 answered on 24 Oct 2008
3 answers
162 views
Hello,

I tried to use radconfirm to display a confirmation dialog.
 
I know that the original behaviour of deleting appointment is a confirmation dialog, but it is not transparent with IE in quirks mode. And I can't change quirks mode.
And, I also want to have all my confirmation window to look the same.

But, when on the OnClientAppointmentDeleting event, I put a radconfirm, it doesn't wait for an answer from the client and launches the AppointmentDelete event and my event is deleted before I could choose.

I tried to call set_cancel(true) before calling radconfirm, but if I call set_cancel(false) after, it's still cancelled.

How can I call a radconfirm before deleting an appointment ?

Thanks
Michel
Top achievements
Rank 1
 answered on 24 Oct 2008
1 answer
137 views
Hello,
I am basically implementing the LoadOnDemand tab demo with the Tab Control and the MultiPage control.  I am dynamically building the pageviews in codebehind, loading user controls.

I would like to set focus on a specific form field within each tab using Javascript.  Other than the first tab, when I view source, I don't see the rendered HTML and my javascript can't find the elements.

How do I access those form fields?

Please let me know if I need to clarify more.
Thanks for all your time.
Beth
Yana
Telerik team
 answered on 24 Oct 2008
3 answers
149 views
How do I go about adding a RadGrid to a RadComboBox at runtime in order to make a multi-column dropdown similar to the one sampled here:http://demos.telerik.com/ASPNET/Prometheus/Combobox/Examples/Functionality/Templates/DefaultCS.aspx (the Initiator).

I've created custom Templates before, but I'm having trouble figuring out what steps are necessary in the situation. Among other things I've tried the following:

DataTable table; 
 
table = //Set the table via a sql query. 
 
RadGrid grid = new RadGrid(); 
        
grid.DataSource = table; 
grid.DataBind(); 
 
RadComboBoxItem item = new RadComboBoxItem(); 
item.Controls.Add(grid); 
 
combo.Items.Add(item); 

Thanks.
Rosi
Telerik team
 answered on 24 Oct 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?