Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
I've implemented the Session Expiration example using the RadNotification.
However, I've noticed that users often have to click the "Continue Session" button several times
before the modal closes. I've worked around this by continuing to call notification.hide() until
notification.isVisible() is no longer true. This workaround  appears to work, but I would like to see a
 fix for this in the future.

function ContinueSession() {
     
    var notification = $find("ctl00_SessionTimeoutRadNotification");
     
    //we need to contact the server to restart the Session - the fastest way is via callback
    //calling update() automatically performs the callback, no need for any additional code or control   
    sessionKeepAlive();
    var attempts = 0;
    while (notification.isVisible()) {
        notification.hide();
        attempts++;
    }
    console.log("Took " + attempts + " attempts to close");
    //resets the showInterval for the scenario where the Notification is not disposed (e.g. an AJAX request is made)
    //You need to inject a call to the ContinueSession() function from the code behind in such a request
    var showIntervalStorage = notification.get_showInterval(); //store the original value
    notification.set_showInterval(0); //change the timer to avoid untimely showing, 0 disables automatic showing
    notification.set_showInterval(showIntervalStorage); //sets back the original interval which will start counting from its full value again
 
    stopTimer("timeLeftCounter");
    seconds = 60;
    updateMainLabel(true);
}
Marin Bratanov
Telerik team
 answered on 19 Dec 2013
3 answers
99 views
Hello,

Is there any way to disable the RadTagCloud or RadTagCloudItem on a server side event?
I have a radtagcloud, and when I click a button I am placing a div overlay on top of the RadTagCloud - the problem is that when I make the overlay div visible, if I mouseover the cloud items I can still click them. When this div is visible on top, the items should not be clickable.

setting RadTagCloud.Enabled = false seems to have no effect.

Thank you in advance,
Regards,
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2013
1 answer
139 views
I have an edit Icon on the far right column of the grid and when a users clicks on it how can I get the grid to expand all of it's children just like the arrow does on the left hand side?
Eyup
Telerik team
 answered on 19 Dec 2013
3 answers
218 views
Hi,
    I want to implement the virtualization of the grid which bind with the dataTable but don't know to achieve it.
    In your existing virtualization sample which the grid is binding with a List of Object. Is it possible to bind it with Datatable ?
   
Please advise..

Thanks a lot.
Don.,
Princy
Top achievements
Rank 2
 answered on 19 Dec 2013
1 answer
181 views
Hi All,

I need a help . its urgent, I am working with RadCalender Control. I am selecting whole week by clicking a date on the calender. But i need to get the Start Date end End Date of the Week which i selected.  

Please Help.
Thank You
Neel
Shinu
Top achievements
Rank 2
 answered on 19 Dec 2013
1 answer
164 views
Hello,

I have a requirement wherein we need to export programmatically created grid with hierarchy on button click. The requirement is there's a "Generate Report" button, once the user clicked on the button, the system will programmatically create the radgrid (invisible) with hierarchy and directly export to EXCEL/CSV.

Is this possible.

Thanks.
Princy
Top achievements
Rank 2
 answered on 19 Dec 2013
8 answers
595 views
Hi,
In my project i want to display both String and Numeric values in Pivot Grid PivotGridAggregateField .
Check the attached Image for more details.
When i bind String field to PivotGridAggregateField  it shows me error.
How to display String Field in PivotGridAggregateField .

<telerik:PivotGridColumnField DataField="Start_Date" Caption="Start_Date" >            
                </telerik:PivotGridColumnField>
              

    
                <telerik:PivotGridRowField DataField="MACHINENAME"  Caption="MACHINENAME" CellStyle-Width="110px"     >
                </telerik:PivotGridRowField>                      
             
                <telerik:PivotGridAggregateField DataField="USER_NM"  Caption="USER_NM"   >
                <HeaderCellTemplate>User Name</HeaderCellTemplate>
                 
                 </telerik:PivotGridAggregateField>
              <telerik:PivotGridAggregateField DataField="PROJECT_ID"  Caption="PROJECT_ID"  >
                <HeaderCellTemplate>PROJECT_ID</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
               <telerik:PivotGridAggregateField DataField="OPER"  Caption="OPER"  >
                 <HeaderCellTemplate>OPER</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                <telerik:PivotGridAggregateField DataField="Part_NAME"  Caption="Part_NAME"  >
                  <HeaderCellTemplate>Part_NAME</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                 <telerik:PivotGridAggregateField DataField="SUB_LEG_ID"  Caption="SUB_LEG_ID"  >
                   <HeaderCellTemplate>SUB_LEG_ID</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                  <telerik:PivotGridAggregateField DataField="ITEM_NM"  Caption="ITEM_NM"  >
                    <HeaderCellTemplate>ITEM_NM</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                   <telerik:PivotGridAggregateField DataField="OPER_DESCR"  Caption="OPER_DESCR"  >
                     <HeaderCellTemplate>OPER_DESCR</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                    <telerik:PivotGridAggregateField DataField="WORK_NAME"  Caption="WORK_NAME"  >
                      <HeaderCellTemplate>WORK_NAME</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                     <telerik:PivotGridAggregateField DataField="RUN_HRS"  Caption="RUN_HRS"  >
                       <HeaderCellTemplate>RUN_HRS</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                      <telerik:PivotGridAggregateField DataField="MH"  Caption="MH"  > 
                        <HeaderCellTemplate>MH</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>
                        <telerik:PivotGridAggregateField DataField="MCH"  Caption="MCH"  >
                          <HeaderCellTemplate>MCH</HeaderCellTemplate>
                 </telerik:PivotGridAggregateField>

This works fine but i want to display the Strings in Aggregate field.
How to resolve this.

Kostadin
Telerik team
 answered on 19 Dec 2013
1 answer
170 views
Hey..  Can you tell me how to pass the selected rows of radgrid on  another page? i have selected the rows but dont know how to pass on another page
Konstantin Dikov
Telerik team
 answered on 19 Dec 2013
1 answer
134 views
I have a requirement when an item is updated in my radgrid for a descriptive comment to be added to that item.  I've added a Required Field Validator to a GridTemplateColumn and it works if this update is the first update of that item and the comment field is empty.  However, if someone has updated the item before, it views the previous comment as making the field valid and doesn't fire.  This is that code
<telerik:GridTemplateColumn DataField="Comments" FilterControlAltText="Filter column13 column"  AllowFiltering="false"<br>                            HeaderText="Comments" UniqueName="Comments"><br>                            <EditItemTemplate><br>                                <asp:TextBox ID="tbComments" runat="server" TextMode="MultiLine" Text='<%# Eval("Comments") %>'>></asp:TextBox><br>                                <asp:RequiredFieldValidator ID="rfvComments" ControlToValidate="tbComments" Display="Dynamic"<br>                                    runat="server" ErrorMessage="Please enter a reason for changing this budget item."></asp:RequiredFieldValidator><br>                            </EditItemTemplate><br>                            <ItemTemplate><br>                                <asp:Label ID="CommentsLabel" runat="server" Text='<%# Eval("Comments") %>'></asp:Label><br>                            </ItemTemplate><br>                        </telerik:GridTemplateColumn>

I also tried deleting the <%# Eval("Comments") > from the Text field and replacing it with "".  That blanks out the previous text and forces a new comment, but the new comment data is not returned to be entered in the database.  (Sql profiler shows NULL for that parameter).

So,  I'd appreciate any help in requiring a new unique comment for subsequent updates.
Thanks
Rick
Princy
Top achievements
Rank 2
 answered on 19 Dec 2013
1 answer
82 views
Hi,

I have an orgchart with a tool bar that gives the options for a user to choose which fields they want to show in the orgchart.
SO basically there is a list of fields as check boxes and when i click on the apply button, I want to add those fields as rendered fields to the orgchart. how can i achieve this with client code?

Thank you
-Sekhar
Plamen
Telerik team
 answered on 19 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?