Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
hello to all expert

                              Good Day! i would like to ask you guys on how am i going to configure the radnumeric textbox that will accept a number starting 5 zero..like for example 000001 and so on, coz when i click my button its automatically convert that format into 1 value only  the other zero is ommitted how can retain that format..? pleae help

sample codes is highly appreciated

thanks to all
Daniel
Telerik team
 answered on 19 May 2009
3 answers
74 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
215 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
168 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
467 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
135 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
110 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
132 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
70 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
162 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?