Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
139 views
Hello, in my hierarchical radgrid, my GridButtonColumn doesn't work at first click.
But works fine at second click on Button.

This is the code:

                                <telerik:GridButtonColumn 
                                    UniqueName="BtnCol" 
                                    ButtonType="ImageButton" 
                                    ImageUrl="Images/Generic/Icons/info.gif"                                  
                                    CommandName="ShowDetails">
                                    <HeaderStyle Width="30px"></HeaderStyle>
                                </telerik:GridButtonColumn>

---

            function ShowDetails(ID1, ID2, rowIndex) {

                var grid = $find("<%= RG1.ClientID %>");
                var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
                grid.get_masterTableView().selectItem(rowControl, true);
                window.radopen("UserControl/PAGE.aspx?ID1=" + ID1+ "&ID2=" + ID2, "ModalWin");
                return false;
            }

Where is the problem? A JS CallBack?
Thanks!
mbro87
Top achievements
Rank 1
 answered on 17 May 2011
5 answers
109 views
Ive got a custom filter inside scrollable radgrid. this filter uses 2 buttons. when im moving the grids scrollbar, those buttons are not moving with the rest of the headers and filters. i tried the popular solution of position:relative of those buttons container (a table or a panel) without any luck. what can i do?

thanks, shay
Bozhidar
Telerik team
 answered on 17 May 2011
0 answers
75 views
I want to add the range of values in XAxis dynamically. For ex- if user selects range of date like start Date- 01/01/2011 and end Date- 5/14/2011 then in X-Axis it should display the month from 1-5 i.e Jan-May. But if the user selects Start Date-11/01/2010 and End Date-
5/14/2011 then x-axis should display the Nov,Dec,Jan,Feb,Mar,Apr and May.
So, here we need the two different range to be added in XAxis like:

 DateTime d1 =Convert.ToDateTime(txtStartDate.SelectedDate);
 DateTime d2 = Convert.ToDateTime(txtEndDate.SelectedDate);      
 if (d2.Month > d1.Month)
        {
            RadChart1.PlotArea.XAxis.AddRange(d1.Month, d2.Month , 1);
        }
        else
        {
            RadChart1.PlotArea.XAxis.AddRange(d1.Month, 12, 1);
            RadChart1.PlotArea.XAxis.AddRange(1, d2.Month, 1);
        }

By the above code it is displaying in XAxis as Jan,Feb,Mar,Apr and May. It is not displaying the first range i.e Nov,Dec.
Please help me out to solve this problem. It is very urgent.
annu
Top achievements
Rank 1
 asked on 17 May 2011
3 answers
128 views

I a newbie in telerik and I try to make a Menu / Mega Drop-Down.  But I have a problem with the Quickstart

I need install this it

Where I can download this Quickstart?

Shinu
Top achievements
Rank 2
 answered on 17 May 2011
1 answer
127 views
I see that by default the radscheduler will assume 1 hour appointment slot. Even when user  hovers over the control, the one hour slots are highlighted. How can i change this to say 30 min. appt slot?
Gimmik
Top achievements
Rank 1
 answered on 16 May 2011
7 answers
233 views
Hi,  I met a problem when using radgrid displaying a highlighted row. It is working fine if the height of the row is regular, however, it shows a blue section at the bottom when the height is exceeded the regular size. Please take a look at the attached image. The top screen shot shows the problem. Could anyone please give me some suggestions to solve the problem? Thanks a lot. 

Regards,
Meng  
Zafar
Top achievements
Rank 1
 answered on 16 May 2011
1 answer
129 views
Hi,

I am able to show text label outside the pie chart, but is it possible to write the text in the chart's bar itself?
Please see attached image.

Thanks
A
Gimmik
Top achievements
Rank 1
 answered on 16 May 2011
1 answer
64 views
Hello,

I'm working with a List View that includes an extensive set of controls including a RadUpload control.  I'm using javascript to disable the Ajax with the upload button is clicked.  This works fine on page load and pretty much all first pages of the list view when items are searched.  Once I select a new page in the RadDataPager, the javascript code is no longer executed.  Could you please provide some insight!! I've been looking into this for some time now with no consistent solution.

I also encountered pretty much the same problem with a textbox in the listview that also needs javascript to be resized, however I corrected this with changes to the  RadAjaxManager settings.  This change (to update the listview when the AjaxPanel is selected, may have triggered the issue above.  

I'm trying to get a solution as soon as possible.

Thanks!

Update...I've actually opened a support ticket to supmit this along with files.
Stephanie
Top achievements
Rank 1
 answered on 16 May 2011
1 answer
379 views
Hi,
I am working on application in which we are using Rad Controls.
When we open appliaction in two browser window, we got 'RadUpload Ajax callback erro.Source url returned invalid content' error.
Vijayaraj
Top achievements
Rank 1
 answered on 16 May 2011
8 answers
307 views
I want to remove one column and also selected rows for excel export. Remove rows worked but remove column doesn't work.

I used e.Worksheet.Table.Columns.RemoveAt(3) under ExcelMLExportRowCreated to remove column (TagID) but doesn't work.

I can't make the TagID column invisible on the grid display because I need to use this TagID for checking when remove selected rows. .

-----------------------------------------------------------------------------------

 

if (!list.Contains(e.Row.Cells.GetCellByName("TagID"

).Data.DataItem.ToString()))

 

{

 


if (e.RowType == GridExportExcelMLRowType

.DataRow)

 


{

 

 

 

Int32

i = e.Worksheet.Table.Rows.Count;

 

 

 

e.Worksheet.Table.Rows.Remove(e.Row);  // remove rows worked

 

}

 

}

 

 

 

 

else

 

 

 

{

e.Worksheet.Table.Columns.RemoveAt(3); // want to remove TagID column from excel display (index id is 3) but didn't work

}


Please help!

JJ
Top achievements
Rank 1
 answered on 16 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?