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

How can i access the column caption name in pageload and also i want to change on runtime the captions of columns text in editmode and pageload.

how can i do this.

thanks
Princy
Top achievements
Rank 2
 answered on 03 Jan 2011
1 answer
473 views
Hi Support,

Whenever we are bind the Scheduler using Webservice it isnot working.

Whenever i run the webservice its give me below error

Cannot serialize interface System.Collections.Generic.IEnumerable`1[[Telerik.Web.UI.AppointmentData, Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4]].


I want to bind Scheduler using webmethod.


Could you please needful for above issue.

Thanks

Rahul Parmar
Veronica
Telerik team
 answered on 03 Jan 2011
0 answers
96 views
Hi, happy new year.

I wonder if it's possible to load image nodes from a stream retrieved from a Database, or I always have to use a valid URL image.

Best regards

Julio Loizaga
Julio Loizaga
Top achievements
Rank 1
 asked on 03 Jan 2011
1 answer
85 views
I am trying to execute a JS call after an Ajax call. I have a Javascrnipt fuction called threshold().

How do I go about using this? i
Do I use this line - 

ScriptManager.RegisterStartupScript(threshold()); ??


Thanks in advance?
Yana
Telerik team
 answered on 03 Jan 2011
3 answers
316 views
We have a problem with the close of the RadWindow about Telerik-function (Behaviors="Close").

We use a RadWindow with the Attribute "Behaviors=Close"

<telerik:RadWindow ID="RadWindowProgramCategory" EnableShadow="true" Behaviors="Close" runat="server">
......
  <asp:Button ID="ButtonCloseWindow"  runat="server" Text="Close" OnClick="OnCloseWindow" />
.....
</telerik:RadWindow>

The RadWindow open with the button "ButtonOpenRadWindow".

<asp:Button ID="ButtonOpenRadWindow" Text="Hinzufügen" ToolTip="Hinzufügen" runat="server" OnClick="OnOpenRadWindow"></asp:Button>
  
    protected void OnOpenRadWindow(object sender, EventArgs args)
    {
      AllVirtualCategories.SelectedIndex = -1;
      UpdateCatagoryFields();
  
      RadWindowProgramCategory.Title = App_LocalResources.CategoryDataControl_ascx.RadWindow_TitleAddCategory;
      RadWindowProgramCategory.VisibleOnPageLoad = true;
      RadWindowProgramCategory.Enabled = true;
      RadWindowProgramCategory.Modal = true;
      RadWindowProgramCategory.AutoSize = true;
  
      String radWindowScript = JavaScript.GetJsOpenWindowIncCloseWindow(RadWindowProgramCategory, "");
      ScriptManager.RegisterStartupScript(RadWindowProgramCategory, this.GetType(), "RadWindowProgramCategory", radWindowScript, true);
    }

Thge Radwindow must open after the Postback. That works with
RadWindowProgramCategory.VisibleOnPageLoad = false;

We can close the Window about a another button and a server-side function.
protected void OnCloseWindow(object sender, EventArgs args)
{
  RadWindowProgramCategory.VisibleOnPageLoad = false;
  RadWindowProgramCategory.Enabled = false;
}

When we close the RadWindow about icon on RadWindow Behaviors="Close" an we again a postback then opens the window again.

how can we change this?

Best regards
Daniela Fischer
Fiko
Telerik team
 answered on 03 Jan 2011
4 answers
189 views
I am populating a RadGrid from a DataTable. Each of the DataRows in the DataTable has a "readonly" column with a value of true or false.

The grid currently has a GridEditCommand column, and a GridButtonColumn that triggers the "Delete" command.

What I need is for rows that display records for which "readonly" is true to be read-only.  I need the icon in the GridEditCommand column to be different, and for clicking it to bring up a view-details form, instead of an edit form.  And I need the link in the "Delete" GridButtonColumn to be absent.

It looks like it'd be pretty straightforward to create a table that doesn't allow the user to edit or to delete records, but I need to be able to have some rows editable and some not.

Where should I start?
Pavlina
Telerik team
 answered on 03 Jan 2011
2 answers
151 views
Hello,

the situation:

display a modal window with content template to show progres of an asynch page load
i.e:

 

<telerik:RadWindow VisibleTitlebar="false"
ID="AccountLoadProgressWnd" runat="server" Modal="true" ReloadOnShow="true" VisibleStatusbar="false" Behaviors="None" >

 

 

<ContentTemplate >

 

 

Loading account <span id='percentageComplete' ></span>

 

 

</ContentTemplate>

 

 

</telerik:RadWindow>

2) main page performs x number of ajax requests to load info on underlying page

Question:

i want to reference the <span id='percentageComplete' ></span>
element in the modal window.

How do i do it?

 

Georgi Tunev
Telerik team
 answered on 03 Jan 2011
5 answers
199 views
Hi,

Is it possible to specify another CDN for JQuery?

The Google CDN is pretty well used, so i would like to use that CDN for jQuery - as many people may already have that in their cache?

Thanks,


Richard
T. Tsonev
Telerik team
 answered on 03 Jan 2011
1 answer
57 views
Hi all,
Does enable scrolling work only for vertical scrollbar only?
I want Horizontal Scrollbar, because of My grid need to show many columns.
When I checked enable scrolling, I got vertical scrollbar and and columns are too tightly (I have over 20 columns to show).
If didn't check enable scrolling columns show all, but show over my contentHolder.

Is there any way to make Horizontal scrollbar for my grid?

Thanks and best regards.
Pavlina
Telerik team
 answered on 03 Jan 2011
1 answer
118 views
I have a tabstrip containing 2 tabs which are visible and have 3rd tab which is not visible (Visible="false"). On button click (server side) if all the validations and statements are executed correctly, I want third tab to be visible and selected. My code is as below

 

 

protected void Button2_Click(object sender, EventArgs e)
    {
        RadTabStrip1.Tabs[2].Visible = true;
        RadTabStrip1.SelectedIndex = 2;
        RadTabStrip1.FindTabByText("Summary").Visible = true;
    }

but this is not happening. the 3rd tab doesnt appears at all.

Appreciate your help

Pankaj

 

Shinu
Top achievements
Rank 2
 answered on 03 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?