Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
364 views
hu guys
how i can search(findcontrol) in rows in DetailTable and MaSter Table?
for ex in grid view : foreach(GridViewRow gr in Grid1.Rows) ...
in Rad how i can?

Princy
Top achievements
Rank 2
 answered on 11 Feb 2010
4 answers
412 views
hi,

Actually, i want two kinds of textbox. One have rounded corners and emptyMessage, another one have rounded corners and error massage.  The error massage is like  to warning people that they must input something before they save the information.

at the first time, i have use <telerik> to create a textarea with the emptyMessage, but the corner is not curved.

in the second time, i have use FormDecorator & <asp.textbox> to create a textarea with the rounded corners, but there cannot set empyMessage use asp.

then i try to add <cc1:TextBoxWatermarkExtender> to make a emptyMassage. Although it have a emptyMessage, it not beautiful like the telerik's emptymassage.

finally, i try to use <asp.testbox> & <telerik:RegExpTextBoxSetting> to create a rounded textbox with the error massage. But it cannot work. 

I am a beginner of telerik. So please explain it in details. Thank u so much.


pei yin
Top achievements
Rank 1
 answered on 11 Feb 2010
0 answers
87 views
Hi all, I have following scenario:

I creted new node in radTreeView (by javasrcipt), then i allow user to rename it by startEdit method and after that i have set OnNodeEdit server event. 

But it not fired. Postback is posted, by not fired OnNodeEdit.

This is my client-side snippet:

                    tree.trackChanges(); 
 
                    var node = new Telerik.Web.UI.RadTreeNode(); 
 
                    if (args.get_dropPosition() == "over") destNode.get_nodes().add(node); 
                    if (args.get_dropPosition() == "above") insertBefore(destNode, node); 
                    if (args.get_dropPosition() == "below") insertAfter(destNode, node); 
                    node.set_text("New category"); 
                    var attributes = node.get_attributes(); 
                    attributes.setAttribute('CreateNewNode', true); 
                     
                    args.set_cancel(true); 
                    tree.commitChanges(); 
                    node.startEdit(); 

I'm doing that onDroping. 

Any ideas? Many Thanks!!!





Jan
Top achievements
Rank 1
 asked on 10 Feb 2010
3 answers
159 views
Question quick version:
How do I change the visibility of an ASP control (eg. a button) from code behind without to add it in the Telerik Ajax Manager?


Question long version:
I am very frustrated. I am strugling with this problem for two days now, and couldnt achieve any success so far.

Some time ago, I have written a very stable chat service in VS 2008, and the client-side was done using traditional Ajax coding (JS).

Well, my boss is a technology freak and told me that I should get rid of my conventional code and use all these cool Telerik Ajax components. For the mostly tasks such as checking queue, enter queue, etc, it goes ok, but my real nightmare started in the main chat page.

Ok, let me try to explain what is going on.

I have the chat.aspx where there are all the traditional VS components (buttons, textfields, timers, etc) and also the Telerik Ajax Manager and the Rad Script Manager. Running behind it, I have my chat.aspx.cs code (c-sharp).

In the chat.aspx I have four main components:

txtChat -> big textfield where all messages show up
txtMessage -> small textfield where user type in his message
btnSend -> button to be clicked and send typed message
tmrUpdateChat -> a timer that bangs server each 2 seconds to update txtChat

In the Telerik Ajax Manager, I configured it this way:

who initiate Ajax request: tmrUpdateChat
who is updated: txtChat

Fine, it is working nicely!

The case is that when the chat operator (in the other side) ends the conversation, a message is shown in the client txtChat warning that the chat session was closed. In addition, the send button (btnSend) and the typing textfield (txtMessage) should be turned invisible with:

txtMessage.Visible = false;
btnSend.Visible = 
false;

For any unknown reason, the above commands are being ignored and nothing happens (my components just keep there, visible).

I figured out that if I change my Ajax Manager settings this way:

who initiate Ajax request: tmrUpdateChat
who is updated: txtChat, btnSend, txtMessage

Then the CS commands DO work and make my components invisible. The sad part of the story is that in this case, a new problem appear - every time the timer updates the chat, the txtMessage textfield lose focus, what is very annoying for whose is trying to type a message.

I dont know if I could make myself clear, as this issue is a bit hard to explain. It is driving me crazy.

What makes me more frustrated is that I had everything working fine with traditional JS, and using this technology supposed to be better, but the fact is that I am feeling as I would just spending a lot of time for nothing.

:(

Any help apreciated.
robertw102
Top achievements
Rank 1
 answered on 10 Feb 2010
3 answers
174 views
I have a vertical bar chart that's bound to a data table that has only 1 row with 7 columns. I've created the bar chart with 7 series so that each vertical bar represents one column of the data. I currently have a data label at the top of each bar that shows the value. I would like to add a static label at the bottom of each bar to identify what that bar represents. For example, the first bar represents requests that were open for 0-15 days. I would like the label under the bar on the x-axis to read "0-15". The value on the y-axis is how many requests fell into that category.

Can I do it with the way my data is coming back, or do I need to modify my SQL so that I end up with multiple rows? Thanks!
Philip Senechal
Top achievements
Rank 1
 answered on 10 Feb 2010
2 answers
128 views
I've followed the example at: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx

However, I need to be able to load the contents of the TreeView at runtime.  It's working fine if the treeview "exists" before the dropdown is activated, but because it's part of a template, the list is not "real" until runtime when the dropdown is used.

I've tried creating a different control and then swapping it in to no avail...

Any ideas?
Kevin
Top achievements
Rank 1
 answered on 10 Feb 2010
2 answers
830 views

I am exporting some decimals to excel and the formatting is dropping of two numbers.

Displays: 0.0051
Exports:  0.00 

I have tried the following below to no avail, your help would be greatly appreciated.  

 

 

DataFormatString="&nbsp;{0}"     which gives me "?0.0051"  
 
DataFormatString="{0:f5}"           still 0.0051  
 

 

 

Mike
Top achievements
Rank 1
 answered on 10 Feb 2010
4 answers
204 views
When I add an appointment to the the timeline view in the radScheduler it automatically doubles the height of the row.  I assume that this is so another overlapping appointment can be made, however appointments in the system I'm working on should not overlap, so I would like to know if there is a way to stop the control from increasing the row height once an appointment is added?

Also while I'm here, is it possible to stop appointments overlapping using the control rather than doing it in the code behind?

Thanks in advance,

Peter
Peter
Top achievements
Rank 1
 answered on 10 Feb 2010
2 answers
296 views
Hi ,

We are using Telerik controls in our project. I just want to check whether  telerik is providing a multiselect combo box with intellisense(filtering option) . If yes then can you route me to that control.

Thanks in Advance,
Vijay
Vijay Ganaraju
Top achievements
Rank 1
 answered on 10 Feb 2010
2 answers
116 views
hi I have a radgrid with detailtables inside detailtables (3 level). At runtime I expand some mastertableview records to see the detailrecords, and expend some detailtables to see the 3rd level detailrecords.When I click on Export I want to export the mastertable and ONLY the expanded detailtables.
my export code is:
RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;  
RadGrid1.MasterTableView.DetailTables[0].HierarchyDefaultExpanded = true;  
RadGrid1.AllowPaging = false;  
RadGrid1.MasterTableView.Rebind();  
RadGrid1.ExportSettings.OpenInNewWindow = true;  
RadGrid1.MasterTableView.ExportToCSV(); 


please help, thanks in advance
Daniel
Telerik team
 answered on 10 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?