Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
71 views
I have a radgrid that has skin="" in the tag (<radgrid id="RadGrid1" runat="server" skin="">).  When I export to PDF I get an error that says the file is corrupted.  If I remove skin="" then the pdf gets exported just fine.  Do you have a work-around for this?
Jill
Top achievements
Rank 1
 answered on 19 May 2009
2 answers
212 views
Hi ,

I am using a radscheduler and the appointment form is opened in a radwindow. Now i want to set a hidden variable in parent window(radscheduler page) from the client javascript function of the radwindow page. I tried GetRadWindow().BrowserWindow.getElementByID("hiddenValue1") but it didnt work.

Can any one help me with this?

Thanks in advance.



cheers,
avinash koyyana
Avinash
Top achievements
Rank 1
 answered on 19 May 2009
4 answers
159 views
WIthout setting anything I've got arrow for expandcollapsecolumn. I want to have minus/plus image for this column like in your live examples. I try to change

CollapseImageUrl

 

="/images/minus.gif" ExpandImageUrl="/images/plus.gif" pointing to images in my local,but Nothing happens.


 

 

 

 

 

 

peerapat
Top achievements
Rank 1
 answered on 19 May 2009
1 answer
459 views
I am using Telerik Grid 2008.03.1125.35 with data stamp 08-11-24. Just tried 2009.1 402 and got the same results.

I cannot find out why NeedDataSource on my grid is called twice on paging.

Following observation

- It is only called twice on paging. Initial load and sorting work properly.
- It is only called twice with EnableViewState=false. If I enable ViewState - NeedDataSource will be called once.
- Sequence of events - NeedDataSource, PageIndexChanged, NeedDataSource

Any ideas on what I need to check? Page is rather big to post here, but grid definition is below

I already checked similar threads and following links and could not solve the problem

http://www.telerik.com/help/aspnet-ajax/grdcommandsthatinvokerebindimplicitly.html
http://www.telerik.com/help/aspnet-ajax/grdeventsequence.html
http://www.telerik.com/help/aspnet-ajax/grdviewstateoptimization.html

http://www.telerik.com/help/aspnet-ajax/grdeventsequence.html


Thank you


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

<telerik:RadGrid ID="shipmentsGrid"
                OnSortCommand="Grid_SortCommand"
                OnPageIndexChanged="Grid_PageIndexChanged"
                OnItemDataBound="Grid_ItemDataBound"
                OnPreRender="Grid_PreRender"
                Skin="MyShipRush"
                EnableEmbeddedSkins="false"
                ImagesPath="/styles/rad/Grid/"
                Width="99%"
                AllowSorting="True"
                PageSize="15"
                EnableAJAXLoadingTemplate="True"  
                EnableAJAX="True"
                AllowPaging="True"
                AllowCustomPaging = "true"
                AllowMultiRowSelection="False"
                PagerPosition="TopAndBottom"
                runat="server"
                Gridlines="None"
                AutoGenerateColumns="False"
                OnNeedDataSource="Grid_NeedDataSource"
                EnableViewState="false" >


Shinu
Top achievements
Rank 2
 answered on 19 May 2009
1 answer
131 views
Hi,
  when I tried to update a label object in the footer template of a combobox by setting label.Text from the server side, nothing happend.
Shinu
Top achievements
Rank 2
 answered on 19 May 2009
1 answer
109 views
Hi,
  when I tried to update a label object in the footer template of a combobox by setting label.Text from the server side, nothing happend.
Princy
Top achievements
Rank 2
 answered on 19 May 2009
2 answers
129 views
Hi. I've got a RadGrid with an auto generated edit column. I can't seem to update any rows. Here is the datasource code:

<asp:SqlDataSource ID="sdsOrg" runat="server" ConnectionString="<%$ ConnectionStrings:IntranetConnectionString %>" 
        SelectCommand="SELECT i.focusarea, i.description, i.type, i.target, i.targetdescription, d.kpiindicatorid, d.area1value, d.area2value, d.area3value, d.area4value, d.area5value, d.indicatorvalue FROM kpiindicator AS i INNER JOIN kpidetail AS d ON i.kpiindicatorid = d.kpiindicatorid INNER JOIN kpimonth AS m ON d.kpimonthid = m.kpimonthid WHERE (d.kpimonthid = (SELECT DISTINCT kpimonthid FROM kpimonth WHERE (currentmonth = 1)) + 1) ORDER BY i.focusarea, i.description" 
        UpdateCommand="UPDATE [kpidetail] SET [area1value] = ?, [area2value] = ?, [area3value] = ?, [area4value] = ?, [area5value] = ?, [indicatorvalue] = ? WHERE [kpimonthid] = SELECT DISTINCT kpimonthid FROM kpimonth WHERE (currentmonth = 1) AND [kpiindicatorid] = ?" OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">  
        <UpdateParameters> 
            <asp:Parameter Name="kpiindicatorid" Type="Int32" /> 
            <asp:Parameter Name="kpimonthid" Type="Int32" /> 
            <asp:Parameter Name="area1value" Type="Int32" /> 
            <asp:Parameter Name="area2value" Type="Int32" /> 
            <asp:Parameter Name="area3value" Type="Int32" /> 
            <asp:Parameter Name="area4value" Type="Int32" /> 
            <asp:Parameter Name="area5value" Type="Int32" /> 
            <asp:Parameter Name="indicatorvalue" Type="Int32" /> 
            <asp:Parameter Name="original_area1value" Type="Int32" /> 
            <asp:Parameter Name="original_area2value" Type="Int32" /> 
            <asp:Parameter Name="original_area3value" Type="Int32" /> 
            <asp:Parameter Name="original_area4value" Type="Int32" /> 
            <asp:Parameter Name="original_area5value" Type="Int32" /> 
            <asp:Parameter Name="original_indicatorvalue" Type="Int32" /> 
        </UpdateParameters> 
    </asp:SqlDataSource> 

I tried to follow the online demos as closely as possible. Is the subquery in the WHERE clause in the correct format?

Daniel
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 19 May 2009
1 answer
69 views
I am trying to figure out how you guys are highlighting the row when you hit the edit button on the RadGrid.  I looked at all of the examples and there is nothing that shows how.  I know that the "rgEditRow" is where you can set the background color in WebBlue, in CSS.   But how do you do it programmatically.

 

Shinu
Top achievements
Rank 2
 answered on 19 May 2009
1 answer
157 views
Hi,
    i am very new to telerik controls.I have editable grid.
in which there is dropdown column.
I have bind that column at runtime.

<

telerik:GridDropDownColumn UniqueName="ComboBox" DropDownControlType="RadComboBox" ></telerik:GridDropDownColumn>
I have bind this dropdown column at .cs file.

Please provide me a solution for this.

Thanks
shrirang

 

Princy
Top achievements
Rank 2
 answered on 19 May 2009
2 answers
160 views
Hi. I'm using RadChart (line) to display some KPI's. I'm assuming the chart is plotting correctly because it looks the same as an Excel spreadsheet I have. The XAxis is showing a datetime of 12/01/1899, 12/02/1900 etc. For starters, the datetime seems to force to en-US even if I set <globalization culture="en-AU" uiCulture="en-AU" /> in the web.config, which should be displaying dd/MM/yyyy. This makes the months appears as days and vice versa. Secondly, the years are totally out, reading 1899 and 1900 when they should be displaying 2007 and 2008.

Daniel

Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 18 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?