Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
175 views
Hello,

I would like to open a Pop up window when clicked on chart title.. I have used Javascript function to open the pop-up.

 

function ShowPopUpDialog() {
            window.open('Details.aspx', 'ChartDetails', 'height = 300px, width = 300px', true);
        }

  

 Here is the call to Javascript function from chart click event

  

 

Protected Sub RadChart2_Click(ByVal sender As Object, ByVal args As Telerik.Charting.ChartClickEventArgs) Handles RadChart2.Click
      Session("ChartReference") = "AccountSize"
      RadChart2.ChartTitle.ActiveRegion.Url = "javascript:ShowPopUpDialog();"
  End Sub

When I clicked on the chart Title the first time, I see that it is triggering a javascript:_doPostback event instead of my function... It works fine as expected from second click onwards..(after the postback)
Any help to resolve this behavior is appreciated

Thanks.

Missing User
 answered on 08 Sep 2011
4 answers
93 views
Whenever I select a row, the row highlight only takes up half the row, leaving the other half blank.  Using the developer toolbar it looks like .rgSelectedRow isn't being applied.  
Galin
Telerik team
 answered on 08 Sep 2011
1 answer
123 views
i'm using the RadBinaryImage control inside the Asp.net gridview and the images are comes from the Azure Blob storage.the Application is working fine in local environment but when i ran the Application from Production server in IE browser some few of the pictures  showing error image pic. They stay active and if I right click and select show picture they appear. They just aren't loading automatically..
Tsvetina
Telerik team
 answered on 08 Sep 2011
0 answers
92 views
Hi,
i am D.Srinivasa,

                       in my project i have a RadGrid to Display a Data from the DataBase, in my RadGrid i have a RadDatePicker Control to display a date from backend,  here enabled the maximum date condition in Raddatepicker,

the following coding is the condition for maximum date operation in RadDatePicker, it checks whether the database can have the data or not, if data is available then it sets the maximum date to that RadDatePicker,

some times it works perfectly but some times it returns error.. 

it returns an error is Specified Cast in Not Valid..

Code Is : 

<telerik:GridTemplateColumn UniqueName="gridActStart" HeaderText="Actual Start" AllowFiltering="false" ItemStyle-HorizontalAlign="Center"><br>
 <
ItemTemplate><br>                      
 <
telerik:RadDatePicker ID="actstart" runat="server" MaxDate='<%#If((Eval("early_start_display") IsNot DBNull.Value), Convert.ToDateTime(Eval("early_start_display")), CType("10/10/2011", System.Nullable(Of DateTime))) %>' Width="100px" Calendar-ShowOtherMonthsDays="false" Calendar-ShowRowHeaders="false" DbSelectedDate='<%# Bind("actual_start") %>' DateInput-DateFormat="MM/dd/yyyy">                     
</
telerik:RadDatePicker><br>                       
</
ItemTemplate><br>                   
 </
telerik:GridTemplateColumn>

and the following attachment is the database for my application. How to resolve this problem,
D.SRINIVASA
Top achievements
Rank 2
 asked on 08 Sep 2011
1 answer
102 views
I have many web user controls on page, some are placed directly on the page
some are are embeded within other user controls.

I would like website users to see loading progress in the middle of the page  everytime they click on anything,
any button, link on Page and any button, link inside user controls, some user controls
include editable grids with embeded command buttons.

something like in this sample:
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultcs.aspx

but in place of the that button I would have  webusercontrol with grid and many buttons (toolbar kind of).

Can this be done at all and can this be done without using Panel?

I was actually trying to show its own loading panel for each user control (Grid basically)  but could not figure
how to do it, I do not want refernce any internal controls or javascript of web user control from parent page. (looks like I can only
use ClientEvents from parent page). So  if  I could just show one ajax loading
panel for entire page regadless of what usercontrol was clicked that will do.
Princy
Top achievements
Rank 2
 answered on 08 Sep 2011
1 answer
132 views
How I should bind the hierarchy grid so I do not loose changes/state during paging?

Thank you.
Princy
Top achievements
Rank 2
 answered on 08 Sep 2011
1 answer
107 views
I have RadGrid with GridTemplateColumn that consists of a group of 3 CheckBoxes. What is the best way to persist user selection during paging? Right now when the user selects/clicks on radio buttons and goes to the next page the selection from the previous page is not persisted.

Thank you.

Shinu
Top achievements
Rank 2
 answered on 08 Sep 2011
6 answers
267 views
Hi.  I would like to use a built-in radconfirm window to add the "Are you sure?" step to a user's input, but I would like for this to occur after the validators used on the page have fired and functioned.  That way the page's logic has insured that the data is correct before it asks "Are you sure?"  Every way that I try to open the radconfirm dialog, it opens first, ahead of the validation.  How can I correct this?

Thanks so much for any help!
Steve Napurano
Top achievements
Rank 1
 answered on 08 Sep 2011
1 answer
199 views
I have a Hierarchical DataGrid that is created in a class then displayed dynamically to the form. I am unable to get the  ExpandCollapseCommandName to work on postback in the ItemCommand Event below.

private void ActiveBatchesRadGrid_ItemCommand(object source, GridCommandEventArgs e)
{
    if (e.CommandName == RadGrid.InitInsertCommandName)
    {
        GridTableView _gridTableView = (GridTableView)e.Item.OwnerTableView;
    }
    if (e.CommandName == RadGrid.ExportToExcelCommandName)
    {
        GridTableView _gridTableView = (GridTableView) e.Item.OwnerTableView;
        _gridTableView.GetColumn("PolicyEditRecord").Visible = false;
        _gridTableView.GetColumn("PolicyDeleteRecord").Visible = false;
        this.__activeBatchesRadGrid.MasterTableView.HierarchyDefaultExpanded = true;
    }
    if (e.CommandName == RadGrid.ExpandCollapseCommandName)
    {
        e.Item.Selected = !e.Item.Expanded;
    }
}


What I would like to do is to GetDataKeyValue() of the parent row when a parent row is expanded
Tim
Top achievements
Rank 2
 answered on 08 Sep 2011
5 answers
115 views
Hi,

I am trying to get the google-like-filtering on RadGrid control. I used the sample code from you website.

It seems like the visual studio is not finding where MyCustomFilteringColumnCS is coming from.. and, I am not sure what's the namespace for it either.

Could you let me know?

Thanks!
Dmitry
Top achievements
Rank 1
 answered on 08 Sep 2011
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?