Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views
Hi,

I have an issue on TabStrip.

I have a 2 tabs which are added dynamically. In one of the tab, i have a radgrid which is contained in a usercontrol. When I click on a row of the radgrid, i want to add an another tab dynamically.

The following code is executed when I click on a row in the radgrid :

protected void ContextGrid_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
    RadTabStrip tabStrip = (RadTabStrip)this.Page.FindControl("DetailTabStrip");
    RadTab tab = new RadTab();
    tab.Text = "My Tab 1";
    tabStrip.InnermostSelectedTab.Tabs.Add(tab);
}

The tab is not added, and nothing occurs.
The previous code I used doesn't work. Am i using the right code?

Please I need help thanks.


Yana
Telerik team
 answered on 19 Oct 2010
1 answer
100 views
Hi. I am looking at replacing an old calendar control with the date picker. The old one was similar in that it had a text box and an icon to pop up a calendar.

One feature that I cannot replicate in the DatePicker control is that when you typed it formatted the date for you. the DatePicker does this at the end, but we also need it to do it when you type.

For example if you wanted to enter the date 01/02/2010

you would type
01
then the control adds the /
then you type
02
then the control adds the /
then you type
10
and it formats the year to 2010

is this possible? as i say, the DatePicker does this on blur, so i guess the functionality is already there.
Shinu
Top achievements
Rank 2
 answered on 19 Oct 2010
3 answers
146 views
Is there a way to set a fixed height in Timelineview?  I need to be able to drop an appointment from a Radgrid control into an empty schedule with resources set to grouped.  When I have the schedule grouped by a resource, and there are no visible appointments, the scheduler shrinks to nothing and there's no empty space for me to drop anything.

-ChrisC.
Veronica
Telerik team
 answered on 19 Oct 2010
5 answers
290 views
I'm using a Radcontextmenu in a RadScheduler and I need to be able to set the X and Y offset position of where this context menu appears. How can I achieve this?

<telerik:RadContextMenu ID="appointmentContextMenu" runat="server" OnClientItemClicked="appointmentitem_clicked">
    <Items>
        <telerik:RadMenuItem Text="Edit Details" Value="EventDetails" />
        <telerik:RadMenuItem Text="Edit Assets" Value="EventAssets" />
        <telerik:RadMenuItem Text="Edit Resources" Value="EventResources" />
        <telerik:RadMenuItem Text="Delete Event" Value="DeleteEvent" />
        <telerik:RadMenuItem Text="Event Outline" Value="EventOutline" />
    </Items>
</telerik:RadContextMenu>


thanks!
Peter
Telerik team
 answered on 19 Oct 2010
1 answer
100 views
Hello,

Why is the time picker showing 12.00 AM?! as there is only 00.00 am to 11.59 PM!

This is creating confusion

Whether RadCalendars adhere to ISO time format?!

Thank you

Regards
Raj
Dimo
Telerik team
 answered on 19 Oct 2010
3 answers
63 views
Hello!
I ran into a weird problem. When I try to get the value of CurrentFilterFunction in NeedDataSource handler, it returns the value from a previous postback, but not the current selection. CurrentFilterValue returns current value fine though.

I'm trying to reduce the number of records in the data source bind to the grid according to the filter settings chosen by a user. Any ideas how to achieve it the best way?

Thanks!
Mira
Telerik team
 answered on 19 Oct 2010
5 answers
600 views
Hi,

In Page_Load I do this:
  RadAjaxManager1.AjaxRequest += RefreshTransactionQuery;

Then I call this in my javascript: (this is C# code that builds the JS to be registered.
  $find('" + RadAjaxManager.GetCurrent(Page).ClientID + "').ajaxRequest(control);

The $find is returning the componenet correctly, and there is no error in the JS. 

However, my server-side function "RefreshTransactionQuery" is not being called at all.

Any help would be appreciated,

Thanks,
Richard
Richard
Top achievements
Rank 1
 answered on 19 Oct 2010
3 answers
86 views
Hi.

Do you have any examples on how to update the database from the CodeBehind when a user drags and item to another listbox?

I don't want to use any SQL or Object datasource, I would like to do it all from the CodeBehind?

Many thanks
Yana
Telerik team
 answered on 19 Oct 2010
1 answer
286 views
Hello, I have a page that does some database work which could take a few minutes, after clicking a button on a RadToolbar, and frequently get the message:
Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

I understand I need to increase the default AJAX timeout for this page, but cannot find how and where to do it.
Thanks for any help!
Sebastian
Telerik team
 answered on 19 Oct 2010
1 answer
87 views
Hi,

My requirement is to have two horizontal lines on the Y-axis to show start level and target levels. I have used a marked zone and applied necessary x and y values. I have applied a transparent color to the marked zone so it appears like a box with red borders. Is it possible to control the visibility of the borders or the color patterns of the borders. If it has this level of control, that will solve my problem.

Another approach suggested in the forum is to have a line series with constant data or Y-axis. The problem with this approach is that the horizontal line appears only until the point where data is available. If data is unavailable, then the line series does not appear.

Any suggestions on the marked zone customization?

Thanks,
Prad.
Yavor
Telerik team
 answered on 19 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?