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

I have a problem with Treeview updating its counter on left handside.Below are the details:

1) Treeview consists of some Products and has counter on left handside updating clients e.g Product 1 (Clients: 4) and the tree    structure continues with nodes.

2) On the right side of the screen there is button when clicked, opens a Pop-up and enter details of clients and their usage, once the pop-up is closed , I want to achieve 2 things :
        a)  The Treeview should update the Counter for Clients like  Product 1 (Clients: 4) to Product 1 (Clients: 5)
       
b) The above node should be higlighted and Selected same as previuosly selected before opening a pop up.

3) I tried to Refresh the treeview after closing popup it definately updates but i am losing the selected node, and the client everytime after inserting the product has to come back seraching for the previous node.

For info i am using I call a function to Databind the Treeview on Pageload.

Any Solution will be appreciated.

Regards
Sudhakar
Nikolay Tsenkov
Telerik team
 answered on 28 Sep 2010
2 answers
734 views
hi
i wany to change color when mouse over
thanks for your help
Pavlina
Telerik team
 answered on 28 Sep 2010
1 answer
40 views

Can any one sugest me a way by which i can search the rad grid having isbn10 no as a filtered column, in which the user can enter a search term with "-" or without "-" but my column isbn10 which i am showing can be in hyphenate or non hyphenated, both the search term with or with hyphen should filter out my grid.

thanks in advance.
Maria Ilieva
Telerik team
 answered on 28 Sep 2010
3 answers
190 views
Hi ,

I am working on RadGrid and I need to get a alert on GridHyperLinkColumn click in the radgrid just as I get by using GridEditCommandColumn while editing the record if the user is not authorised to edit the data.Otherwise how can I give the Command Name for the GridHyperLinkColumn so that i can handle it in the codebehind.

Thanks,
h@r!.

Princy
Top achievements
Rank 2
 answered on 28 Sep 2010
1 answer
199 views
I had not found a alternative for asp:updatepanel.update() in RadAjaxPanel
How the senario is possible with RadAjaxpanel

Bellow is a code sample

<
asp:UpdatePanel ID="updatePanelSearch" runat="server" UpdateMode="Conditional">
     <ContentTemplate>
  
        <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
        <telerik:RadTextBox ID="radtxtSearch" runat="server">
        </telerik:RadTextBox>
        <asp:ImageButton ID="imgbtnSearch" runat="server" ImageUrl="~/Images/Search.png" OnClick="imgbtnSearch_Click" />
  
     </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="updatePanelGrid" runat="server" UpdateMode="Conditional">
     <ContentTemplate>
  
           <asp:PlaceHolder ID="phGrid" runat="server"></asp:PlaceHolder>
  
      </ContentTemplate>
</asp:UpdatePanel>
protected void imgbtnSearch_Click(object sender, ImageClickEventArgs e)
{
    updatePanelGrid.Update();
    /*Update Grid*/
    ..........
    /**/
}
Iana Tsolova
Telerik team
 answered on 28 Sep 2010
1 answer
147 views
Is it possible to set separate WorkDayStartTime and WorkDayEndTime for different resources? (ie. Room1 is open from 7am - 3pm, Room2 is open 10am - 6pm). And if so, what approach do I need to take to achieve this? There doesn't seem to be anything like this built in to either ResourceTypes or the RadScheduler itself, does anyone have any suggestions?
Peter
Telerik team
 answered on 28 Sep 2010
2 answers
168 views
Hi,
I have multiple textboxes on my page to maintain the order of a list.
I have a scenario where the user may delete the value in one of the text boxes and I want to update all the corresponding textboxes that follow the order.

So supoose I have 10 textboxes with the numbers 1 to 10. if the user deletes the text from the box with number 5 i want to update the text in the textboxes which follow 5 ie, through 6 -10 with the number 5-9.

Does this make sense?

Please let me know if this can be done?
Dimo
Telerik team
 answered on 28 Sep 2010
2 answers
114 views
Hi,

I am using a Rad Grid control inside a user control. I have to support automatic inserts and edits - the insert is implemented by clicking a button in the command item template, and the editing is done by double-clicking the row that contains the item. I have hooked it up with the RowDoubleClick event in the ClientEvents tag and have implemented a custom javascript logic that keeps track of the edited items and triggers ajax requests to the server using a RadAjaxManager. I would like to be able to commit any pending changes to the currently edited item, if I double-click on another one (and have only one active editor).

the code for this looks like

function RowDblClick(sender, eventArgs) {
        requestCommit(); // commits any changes to the server to be recorded.
        // initialize items that keep the currently selected row's data.
    }

function requestCommit() {
        var result = false;
         .....
         // if updating
         manager.ajaxRequest(...);// pass the data to the server to perform update
          // else if inserting
         manager.ajaxRequest(...);// pass the data to the server to perform insert
         // other code skipped for clarity
         return result; // result is true if request attempt was made
    }

function GridKeyPress(sender, eventArgs) {
        var c = eventArgs.get_keyCode();
        if (c == 13) {
            requestCommit();
        }
    }

This code works fine when I press the enter key - the data is successfully  submitted. However, I want to submit it when I doubleclick on another row - unfortunately nothing happens - Firebug says that the request was aborted. This happens on FF, IE7, 8 and chrome (I did not test it elsewhere). When I add an alert tag in the requestCommit method before it returns, all works fine.

Regards,
Ivaylo Slavov
Ivaylo
Top achievements
Rank 1
 answered on 28 Sep 2010
1 answer
135 views
I have a user control that I am using multiple times on a page.  This user control contains a RadAjaxManagerProxy which ties an update to a RadAjaxLoadingPanel which is absolutely positioned within the user control and set to IsSticky="true".  Everything works just fine, except the loading panel in the first user control is triggered by both user controls when I run the page.  It's like the second user control does not have it's own instance of the loading panel.

I apologize if this has been answered before, I searched for awhile and was not able to find a solution.  My code for the user control is posted below.

 

<style type="text/css">
.loadingpanel { position: absolute; }
.bottomright { position: absolute; bottom: 10px; right: 20px; }
.bottomcenter { position: absolute; bottom: 15px; width: 200px; left: 0px; right: 0px; margin-left: auto; margin-right: auto; text-align: center; }
</style>
  
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ddlCalcMethod">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnlCalcParameters" LoadingPanelID="RadAjaxLoadingPanel1"
UpdatePanelHeight="" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
  
<table width="100%">
<tr>
<td class="label right cell1">Method:</td>
<td class="cell2">
<telerik:RadComboBox ID="ddlCalcMethod" runat="server" Width="175px" AutoPostBack="True" 
onselectedindexchanged="ddlCalcMethod_SelectedIndexChanged">
</telerik:RadComboBox>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 0px;">
<asp:Panel ID="pnlCalcParameters" runat="server"></asp:Panel>
</td>
</tr>
</table>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" InitialDelayTime="200" MinDisplayTime="500" Skin="" CssClass="loadingPanel" IsSticky="true" HorizontalAlign="Center" ClientIDMode="AutoID"
<div class="bottomcenter">
<asp:Image ID="imgAjaxLoading" runat="server" ImageUrl="~/Resources/images/ajax-loader.gif" AlternateText="Loading..." /> 
</div>
</telerik:RadAjaxLoadingPanel>
<div class="bottomright">
<asp:Button ID="btnSubmit" runat="server" Text="Submit" onclick="btnSubmit_Click" /> 
</div>

Maria Ilieva
Telerik team
 answered on 28 Sep 2010
1 answer
181 views
Is there a simple way to use AsyncUpload with multiple file selection and the File Explorer? The File Explorer control will work for our needs, but being able to select multiple files is important.

Thank You,

Nick Clark
Fiko
Telerik team
 answered on 28 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?