Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
142 views
I would like to add timer to FileBrowser, what I did is

1. add Timer from AJax Extension,
2. Add Label 

<div class="leftPaneHeader">

<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></div>


3. add Timer_Tick like the follower
 

protected void Timer1_Tick(object sender, EventArgs e)

{

RadTreeView1.Nodes.Clear();

LoadTreeView(Server.MapPath(

"~/"));

Label1.Text =

"Updated at " + DateTime.Now.ToLongTimeString();

}

the Timer works, but it refresh the whole page,  my questions are:
 how to use timer to update page (which are only treeview and gridview )partially? how to keep the node expand and selected after user made a expansion and selection when update page partial?
 

Zhengmao
Top achievements
Rank 1
 asked on 21 Apr 2008
1 answer
114 views
Is is possible to trap and handle the click of a button in a GridButtonColumn on the client (cancelling the postback because I don't need the server to do anything)? 

Or, as an alternative, should I just use a template column and load it with a simple html image where the onclick is loaded with a call to my javascript functions in the page?  All I plan to do is open a RadWindow with additional information on the item clicked.  I thought the GridButtonColumn would be convenient to use, but I don't need to do anything in a server postback.


Regards,
Bob Reader
Sebastian
Telerik team
 answered on 21 Apr 2008
0 answers
369 views
Important information
In RadControls for ASP.NET AJAX Q1 2008 there is a change in the Client-Side API. The compatibility layer which was used in the transition beta period is now removed. All client-side methods strictly follow the ASP.NET AJAX conventions and are lower case.
For instance: get_collapsed() should always be used from now on, get_Collapsed() is no longer supported. This also results in significant improvement in page loading times.
Please, refer to the Client-Side Programming section in the online documantation of RadControls for ASP.NET AJAX for more details.

Best regards,
The Telerik team

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 21 Apr 2008
1 answer
494 views
Hello,

I passed like the last 4 hours trying to find a bug in my asp.net application which usie RadAjaxManager. Each time I used the RadScriptManager in my project I faced javascript errors like : "AjaxControlToolkit undefined" or "Telerik undefined".

I look all the documentation related to RadScriptManager, I saw that I needed a line in my web.config like :

<httpHandlers> 
      ...  
      Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"  
              validate="false" /> 
    </httpHandlers> 

but SOMETHING IS MISSING IN YOUR DOCUMENTATION, I found it, I'm so happy :).

The problem is that I have Vista which has IIS7. The configuration in II7 has changed.. the configuration of the web server related to your application is also defined in the web.config now. So I had this line in my web.config and all function properly now :

    <system.webServer> 
        <handlers> 
            ...  
            <add name="Give_it_a_name" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
        </handlers> 

I hope this information can be useful to someone else!!

Cedric
Erjan Gavalji
Telerik team
 answered on 21 Apr 2008
3 answers
222 views
Hi,

Please help me with the following issue:

I construct my entire treeview dynamically using code. However when I uncheck a parent node and click a button to cause a postback, all child nodes of that parent also get unchecked. I want to avoid this behaviour. Please let me know how to fix this.

Also, please note that I am taking care of only constructing my treeview when Page.IsPostBack = false. Also the EnableViewState property of my treeview is set to true.

Thanks,
Raj
Nikolay
Telerik team
 answered on 21 Apr 2008
3 answers
115 views
Hi,
I try to record a web test case where some requests are launched by RadAjaxManager, founding no form-post parameters are recorded.
Could I do some tricks to tweak this issue?

Regards,
Ricky.
Konstantin Petkov
Telerik team
 answered on 21 Apr 2008
1 answer
103 views
The documentation for Prometheus 2008 Q1 seems to indicate that the RadScriptBlock or RadCodeBlock is still part of the distribution, but I am unable to find the dll or namespace where it exists.

Can anyone point me in the right direction, or has it been eliminated?
Vlad
Telerik team
 answered on 21 Apr 2008
1 answer
90 views
Hello,
I have I grid row in edit mode with:
text box - user enters the amount,
drop down list - used to select a quantity,
a column called Total which is not editable,
a label in the command item template called  Amount Sum.
When the user selects the drop down list the qty changes and i have to calculate the total amount (qty * amount) and to update Total column and Amount Sum label which is the sum of all Total columns. All client side.
Can anybody give me an example how to do this?
Sebastian
Telerik team
 answered on 21 Apr 2008
1 answer
166 views
I have a load on demand combobox on my page.  When I am in 'add' mode I select a value in the combo and save it to the DB.  I come back to the same page later in 'update' mode.  Now I need to initialize the selectedvalue of the box to the previously selected value.  But I still need the box to be load on demand.  I'm having a hard time getting this to work.  I'm sure you guys considered that people would want to use a load on demand combo in an 'update' scenario.  So can you cite an example of how this might work?

Thanks!
Rosi
Telerik team
 answered on 21 Apr 2008
1 answer
137 views
The month date picker example that is in http://www.telerik.com/community/code-library/submission/b311D-mdkhb.aspx

set up for prometheus throws an error on picker.get_calendar(); line

function SetCalendarTable()

{

var picker = $find("<%= RadDatePicker1.ClientID %>");

var calendar = picker.get_Calendar();


the object doesn't support the method. This is with the new verision (released Prometheus), before release it didn't do that.

Robin
Steve
Telerik team
 answered on 21 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?