Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
202 views
Hi

I would like to create a 3 level Hierarchy created from a database stored procedure. Each level can have personnel assigned to it. How will I be able to this?

Thank You
Peter Filipov
Telerik team
 answered on 15 Feb 2012
1 answer
90 views
Hi, i want to ajaxify the treeview i have on a master page to stop a full page postback everytime a node is clicked. I have found examples for this when not being used on a master page but i cannot get it to work. Can i ask also what effect would this have on the code behind we have on the masterpage for such things as node clicks? ANy help on this would be greatly appreciated.
Maria Ilieva
Telerik team
 answered on 15 Feb 2012
7 answers
410 views
Just wondering when Telerik are going to do an OLAP cube browser.

Dundas do a fantastic one....

http://www.dundas.com/Components/Products/chart/NET/OLAP/QuickStart1.aspx

--------------------


Just realised this is covered by another thread.

http://www.telerik.com/community/forums/aspnet/general-discussions/olap-control-for-asp-net.aspx#303987
Sebastian
Telerik team
 answered on 15 Feb 2012
0 answers
84 views
Team,
    I'm using RadComboBox in my project.Inside it I placed RadTree control having the dynamic data.I want to disable the RadComboBox based on the another RadComboBox selection.At server side I'm able to enable or disable the RadComboBox and able to select the data after disabling or enabling.And it will maintains entire data in RadComboBox.

But When I'm using same operations at client side using JavaScript it's not working.After enabling the RadComboBox  using JavaScript, user want to select the value in RadComboBox.Suppose if the user selects any value from it, it losses data.It just maintains only selected value.Can you please help me on how to maintain RadComboBox data after enabling using Javascript.

Thanks,
Krishna
Krishna
Top achievements
Rank 1
 asked on 15 Feb 2012
3 answers
80 views
We are having a serious problem with event handling of the RadGrid control on the server side when using IE8.  We are currently using the latest release of Telerik UI, 2011.3.1115.40.
The problem is that when the events "PageIndexChanged" and "PageSizeChanged" are fired, we receive the following error message from the browser:
    "Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'System.EventArgs' to type 'Telerik.Web.UI.GridPageSizeChangedEventArgs'."

This only happens with IE8.  When we use IE9 or FireFox for the same application, there is no error being thrown.  This is a big problem in our production environment since we have a large number of users that are using the IE8 browser.

Thank you in advance for any help you can provide.

Ed Sudit
Tsvetina
Telerik team
 answered on 15 Feb 2012
4 answers
98 views

I'm loading the ASP.NET RadMenu from a static XML file on Page_Load event like so.

if (!IsPostBack)  {
    RadMenu1.LoadContentFile("~/Menu/MainMenu.xml"); }

I frequently can see a flash of the entire XML file (50+ items in it) while the page is loading. 

Are there any stratgies to avoid this problem?

Thanks,
Russ

										
Kate
Telerik team
 answered on 15 Feb 2012
2 answers
70 views
Is it possible to display the radWindow at a scroll location.  I'm thinking of things like .scrollTop(location)?  I don't mean setting the location of the radWindow.  I mean showing the radWindow with a scroll bar but with the scroll bar value set to display below the top of the page.  I can calculate the location that I want to be visible and I can get the name of the control within the radWindow that I want visible, but i haven't figured out how to move the scroll bar programmatically.
Charles Reid
Top achievements
Rank 1
 answered on 15 Feb 2012
3 answers
346 views
Hello,
I inherited a project and I'm trying to get the value of the cells within a GridHyperLinkColumn.
The existing code is as follows:

 

 

Protected Sub gvLaneDBStatus_ItemDatabound(ByVal sender As Object, ByVal e As GridItemEventArgs) Handles gvLaneDBStatus.ItemDataBound

     If TypeOf e.Item Is GridDataItem Then

       Dim dataItem As GridDataItem = DirectCast(e.Item, GridDataItem)

        Dim hl As GridHyperLinkColumn = CType(gvLaneDBStatus.MasterTableView.Columns.FindByUniqueName("LnStatus"), GridHyperLinkColumn)

 

            hl.ImageUrl = "../../images/" + CStr(hl.DataTextField) + ".gif"

  

 

    End If

 

End Sub

 


The DataTextField property is returning the data field specified in the properties, as it should.  I need the actual cell values which will in turn display a corresponding graphic in the cell.

Thanks very much,
Jim
Jim
Top achievements
Rank 1
 answered on 15 Feb 2012
1 answer
154 views
Hi there,

I have a class called BasePage, it is a Page that helps me with common tasks. One is to persist some info in ViewState.
This BasePage saves the ViewState info in the PreRenderComplete event (so the real page can modify this info in the PreRender event)

The problem I have is that it does not work if I use RadAjaxManager

Is there any way to solve this problem? 

This is an example

<form id="form1" runat="server">
  <div>
    <asp:ScriptManager runat="server" ID="scriptManager"></asp:ScriptManager>
    <telerik:RadAjaxManager runat="server" ID="manager">
      <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="lnk1">
          <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="lbl" />
          </UpdatedControls>
        </telerik:AjaxSetting>
      </AjaxSettings>
    </telerik:RadAjaxManager>


    
    <asp:LinkButton runat="server" Text="Sum with Ajax" ID="lnk1" OnClick="lnk_Click">
      </asp:LinkButton>


    <asp:LinkButton runat="server" Text="Sum without Ajax" ID="LinkButton1" OnClick="lnk2_Click">
      </asp:LinkButton>


    <asp:Panel runat="server" ID="pnlAjax">
      <asp:Label runat="server" Text="Label" ID="lbl"></asp:Label><br />
      <asp:Label runat="server" Text="Label" ID="Label1"></asp:Label><br />
      
    </asp:Panel>
  </div>
  </form>



public partial class Demos_KeepInViewStateWithAjaxTest : Page
{
  int _count;
  public int Count
  {
    get
    {
      return _count;
      
    }
    set
    {
      _count = value;
      
    }
  }
  protected void Page_Load(object sender, EventArgs e)
  {
    //Restore ViewState
    if (ViewState["Count"] == null)
    {
      ViewState["Count"] = 0;
    }


    Count = Convert.ToInt32(ViewState["Count"]);


    PreRenderComplete += new EventHandler(Demos_KeepInViewStateWithAjaxTest_PreRenderComplete);
  }


  void Demos_KeepInViewStateWithAjaxTest_PreRenderComplete(object sender, EventArgs e)
  {
    ViewState["Count"] = Count.ToString();
  }




  protected void lnk_Click(object sender, EventArgs e)
  {
    lbl.Text = Count.ToString();
    Count += 1;
  }


  protected void lnk2_Click(object sender, EventArgs e)
  {
    lbl.Text = Count.ToString();
    Count += 1;
  }
}

Darío K
Maria Ilieva
Telerik team
 answered on 15 Feb 2012
1 answer
96 views
I am showing a loadingpanel with radgrid.How to align loading panel so that it is displayed on center?
Princy
Top achievements
Rank 2
 answered on 15 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?