Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
197 views
IN the Self-Paced Tutorial section of the website there is a zip file with all the projects in it.  When I try to open it, it asks me for a password.  What is the password?
Paul
Telerik team
 answered on 29 Oct 2008
2 answers
100 views
Hi,


I have a scenario where we need to graph production data for a client. The chart/graph itself is pretty straightforward but the problem is there are sometimes gaps in the data (due to, say, a natural disaster halting production) so that there could be no data at all for 3 weeks, for example.

What we want to do it to be able to show a 'gap' in the chart to represent these periods of time when there is no data.

Is there a way to plot a chart  where we can control how the data points are connected? In other words, what I'm looking for is to be able to do something like:  "if two data points are more than a day apart, don't connect them"

Couldn't find any examples of this, any help at all would be appreciated. Thanks.

Richard
Richard
Top achievements
Rank 1
 answered on 29 Oct 2008
2 answers
162 views
Hi

I have a MasterPage "MP1" with RadAjaxManager, a Label named "Login" and one ContentPage.
On Content page there is a "Page1" with RadProxyManager.
Page1 has RadSplitter and one RadPane with "Page2" inside.

Inside Page2 I call a pop-up Page3 and from this last page I need to change a Label that is in MasterPage.

From Page3 I, when I close it, I  can call a javascript function named "change_login" that is on Page1:

    <telerik:RadCodeBlock ID="RadCodeBlock0" runat="server">
        <script language="javascript" type="text/javascript">
         // Passa valores por Ajax
           function change_login(new_login){
                //alert("def5: " + new_login);
                $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("Login;" + new_login);
                return false;
            }
         </script>   
    </telerik:RadCodeBlock>

In MP1 I have AjaxRequest event:

Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
        Dim sarr() As String = Split(e.Argument.ToString, ";")
      
        If sarr(0) = "Login" Then
            Login.Text = "New Login"
        End If
 End Sub



However when I call this function I can only see a postback on ContentPage.
I have no configuration on RadProxyManager and in RadAjaxManager I have:

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"  OnAjaxRequest="RadAjaxManager1_AjaxRequest">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ContentPlaceHolder1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Login" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
 </telerik:RadAjaxManager>

Best regards
Quim
Top achievements
Rank 1
 answered on 29 Oct 2008
3 answers
77 views
I create splitter in one of my work project, but the pin image in sliding page is not shown up. Can anyone help me out? thanks.
Svetlina Anati
Telerik team
 answered on 29 Oct 2008
3 answers
95 views
Dear Telerik

Please accept with all my frustration when i say your grids suck. Allow me to elaborate. I have grid with paging. There is template column with a button that will generate a PDF when clicked. I'm using your Ajax Manager to control the page. On the first grid page the button works like it should. But if i page on the grid then the button breaks and nothings happens. Why can't that button work on all the pages on the grid like it should!?

And oh yeah, in case your wondering, yes i am already registering my buttons with the script manager and i have another function verifying the ajax is off on the buttons. It's almost like the grid only turns the ajax off on the first page.
Iana Tsolova
Telerik team
 answered on 29 Oct 2008
1 answer
128 views
Hello,

I am using load on demand with 3 radcomboboxes, just as the telerik sample, but I have problems because my last combo needs the 1st and 2nd combos selected values and it appear that when inside the ItemRequested handler I have no access to my fist combo selected value ( I get string.empty) and  Viewstate is still no available (I saved the 1st slected value in viewstate, but get string.empty trying to get it back).
So what is the lifecycle for this event ?
Is it triggered before Viewstate is loaded for page ?
Is this the reason why you added the context feature, I will try it.

Second question concerns exceptions handling: when an exception occurs inside the ItemRequested, it is sent to client and I get an alert with my exception text.
Well done but I DO NOT want this, I dont want that radCombobox handles the exception but want it to be passed it upwards where it will be catched by my general handler.
Is there a way to obtain this last process.

Thanks for answer.
CS
Rosi
Telerik team
 answered on 29 Oct 2008
3 answers
149 views
Hi

I am getting a compile error when trying to set teh filter property on a radcombobox.
I cannot see the property in the property list in intellisense, i have referenced the Telerik.Web.UI dll.
I cant see RadComboxFilter in the object explorer.

any ideas?


'Telerik.Web.UI.RadComboBox' does not contain a definition for 'Filter' and no extension method 'Filter' accepting a first argument of type 'Telerik.Web.UI.RadComboBox' could be found (are you missing a using directive or an assembly reference?)



Veselin Vasilev
Telerik team
 answered on 29 Oct 2008
7 answers
213 views
I am trying to obtain a reference to a combo box after the page loads.

I've tried (where rcbRegion is the combo box):
var ddl = <%= rcbRegion.ClientID %>;

var ddl = $find(<%= rcbRegion.ClientID %>);

var ddl = document.getElementById('<%= rcbRegion.ClientID %>);

On the first and the last, I can do ddl.id and get the appropriate id, but when I try to do ddl.get_value(); I get an error saying "Object doesn't support this property or method."  I get the same error when trying to access any of the methods the combo box supports.

The second returns null.

What am I doing wrong, and which of these are supposed to work?
Veselin Vasilev
Telerik team
 answered on 29 Oct 2008
1 answer
147 views
I'm trying to move all of my dialogs, which currently use the RadWindow, over to RadToolTip or RadToolTipManager...not sure yet which is best.

As a simple example, I'd like to have it so that when a user clicks on a button, I display the dialog with an ascx loaded into it. On my aspx test page I have a RadAjaxManager, a RadToolTipManager a RadScriptManager and the button. The codebehind is shown below.

In Page_Load I set the button as an ajax trigger and a TargetControl of the ToolTipManager. In the button's event handler I load the ascx and call Show, but it doesn't work.

Any suggestions? I couldn't find an example in the demo section of the site that could get me over the hump. By the way, I'd really like to achieve this without any custom JavaScript if I can help it, though if I have to return a single line as an AJAX response script that wouldn't be the worst thing in the world.

 

protected void Page_Load(object sender, EventArgs e)

 

{

AjaxManager1.AjaxSettings.AddAjaxSetting(MyButton, ToolTipManager);

ToolTipManager.TargetControls.Add(MyButton.ClientID);

}

 

protected void MyButton_Click(object sender, EventArgs e)

 

{

ToolTipManager.UpdatePanel.ContentTemplateContainer.Controls.Add(LoadControl(

"MyControl.ascx"));

 

ToolTipManager.Show();

}

Svetlina Anati
Telerik team
 answered on 29 Oct 2008
2 answers
130 views
Hi,

I have for example following data
A 1
A 2
A 3
B 1
B 2
B 3
B 4
C 1
C 2

I group on first field (A, B, ...)
then I get on page 1
A
   1
   2
   3
B
   1
   2

on page2
B
   3
   4
C
   1
   2
when I collapse A, I want the data to be like
A
B
   1
   2
   3
   4

page2
C
  1
  2

I hope someone understands what i'm trying to do ;-)

Is this possible?

Thanks in advance,

Frank
Frank
Top achievements
Rank 1
 answered on 29 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?