Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
111 views
Hi,

Why RadScheduler WeekView column header are links by default and MonthView cloumn header are not..? I have to make month view column header links? Is there any way to convert MonthView columnheader to link?

Thanking you..
Amit Vaidya
Top achievements
Rank 1
 answered on 11 Feb 2010
4 answers
99 views
Hi all.
Sorry if my questions cover basics, but this is my second day with Telerik controls.

Both my questions are connected with this example http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultcs.aspx

1. I want to remove the first column with arrow and have possibility to expand the hierarchy when I click on the row. If someone could steer me how to achieve that in the simplest way I would be grateful.
2. After expanded the row, next in hierarchy are shifted to the right. I want to have them one by one without it. How to do that?

Yavor
Telerik team
 answered on 11 Feb 2010
1 answer
218 views

Hi there.

I am trying to manually insert an item into the dataset for a RadComboBox as shown below:

cbProviders.Items.Insert(0,

new RadComboBoxItem(CurrentUser.CompanyName, CurrentUser.OperatorId.ToString() + "-" + EvaluationOwnerType.Operator.GetHashCode().ToString()));

My problem is that the item is really an ASP:CheckBox inside of an ItemTemplate as shown:

 

<ItemTemplate

 

 

 

 

 

 

<asp:CheckBox runat="server" ID="CheckBox" onclick="checkboxClick();" Text='<%# DataBinder.Eval(Container, "Text") %>'/> 

 

 

 

 

 

 

</ItemTemplate>

I am not sure how to accomplish this. Currently, the checkboix shows, but not the associated text. Any help would be appreciated.

Thanks, Mike

 

 

 

Shinu
Top achievements
Rank 2
 answered on 11 Feb 2010
0 answers
88 views
Hi Telerik Team,

                I am using RadAjax Scheduler in a tabstrip of a usercontrol where it is popuped when click a edit in a RadGrid.
In second tab i placed this scheduler when i postback from first tab second tab is enabled then i can able to create appointments.
Here i am unable to open a AdvancedInsert popup and getting below Javascript error.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Row index out of range: 0
Pandu
Top achievements
Rank 2
 asked on 11 Feb 2010
2 answers
167 views
Hi,

I am using RadTabStrip in my page. I have 4 tabs in my page. When i set autopostback=false every thing is working fine. I Want to make a server call on click of second tab and i want to fetch that tab specific data from DB.

To achieve this i set autopostback property to true and tried to catch the event. But onclick of the second tab, the tab is empty and there is a javascript error as in the attached file. I Could not trace whats the issue is :(
Please help me ASAP.

Regards,
Ravikumar.P
Ravikumar
Top achievements
Rank 1
 answered on 11 Feb 2010
2 answers
122 views
Hi,,,
  I saw this link :
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx
And that what I want but actually I need to do the operation at once.
I mean when I do the adding operation I can add multiple records at once so the user can quickly save all new records with one callback , the same thing when I do the updating operation  I can make changes multiple records and then upload all the changes at once with one callback

Can I do that ???
sam ys
Top achievements
Rank 1
 answered on 11 Feb 2010
4 answers
356 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
404 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
83 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
147 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?