Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
118 views
Can we add two images in grid Expand columns and one image work for Expand the column and 2nd image work for open the context men menu.

Is it possible or not.

If it is possible can you send me any demo or suggest me way to do.

It is urgent please ,i shall be very thankful to you.


Thanks Telerik support Team. 
Eyup
Telerik team
 answered on 29 May 2012
6 answers
128 views
I have a page which prints the contents (a grid)  of a rad pane. I want the grid skin styles to get printed so I use

ClientScript.GetWebResourceUrl(GetType(RadGrid),"Telerik.Web.UI.Skins.Office2007.Grid.Office2007.css")

and then pass the result as an absolute path to the pane.print() method.

This doesn't seem to work since upgrading to the latest controls and the external Skins assembly. It worked before.

The "Telerik.Web.UI.Skins.Office2007.Grid.Office2007.css" seems like it ought to work, but my print page is not applying the grid skin. Is there some alteration I need to make to this code to reference the grid skin?

Milena
Telerik team
 answered on 29 May 2012
5 answers
141 views
Hello,
We plan to use script sharp compiler fromp Nikhil Kothari, will i work with RadAjax ?

Thanks
CS
Dobromir
Telerik team
 answered on 29 May 2012
5 answers
754 views

Hi,
 I have used a radgrid with template coulmns which contains dropdowns and textbox..
 Now i will change these values. Button which saves these changes in radgrid is outside of radgrid. Now how can i identify only edited rows in radgrid and save ?

Below is code with only template columns
 <MasterTableView AllowFilteringByColumn="true">
                    <Columns>
                        <%--<telerik:GridBoundColumn HeaderText="Group Level" UniqueName="prdlvl" DataField="prdlvl"
                            Visible="true" ReadOnly="true">
                        </telerik:GridBoundColumn>--%>
                        <telerik:GridTemplateColumn HeaderText="Group Level" UniqueName="prdlvl" Visible="true">
                            <ItemTemplate>
                                <asp:Label ID="afslblproductlvl" runat="server" Text='<%#Eval("prdlvl")%>'></asp:Label>
                            </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <%--        <telerik:GridBoundColumn HeaderText="Description" UniqueName="prdlvldsc" DataField="prdlvldsc"
                                Visible="true">
                            </telerik:GridBoundColumn>--%>
                            <telerik:GridTemplateColumn HeaderText="Description" UniqueName="prdlvldsc" DataField="budverdsc"
                                Visible="true">
                                <itemtemplate>
                         <asp:TextBox ID = "afstxtProductGrpDescription" runat="server"  Text='<%#Eval("prdlvldsc")%>' Width= "100%"></asp:TextBox>
                             </itemtemplate>
                            </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>

Will looping each item can i know which item is edited in ??

foreach (GridDataItem ObjeACH in rdGrdMenu.Items)
        {
}

Regards,
Akki
Shinu
Top achievements
Rank 2
 answered on 29 May 2012
3 answers
141 views
How could I RadDateTimePicker Enable/Disable using java script

Advance Thanks
Tamim
Tamim
Top achievements
Rank 1
 answered on 29 May 2012
22 answers
1.0K+ views

I have the RadScriptManager and the RadComboBox working correctly on my site for most users, but several have reported encountering JavaScript errors that I cannot reproduce/ troubleshoot.

The details of the error they are encountering are below.  Anyone have any ideas on how to resovle/troubleshoot this?


 

The error seems to imply a request that does not return JavaScript, but that doesn’t make sense since the error is occurring with http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Core.js

Error Details:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; Tablet PC 2.0; .NET4.0C; InfoPath.3; MS-RTC LM 8; Zune 4.7)

 

Timestamp: Tue, 8 Feb 2011 00:00:24 UTC

Message: Invalid character

Line: 1

Char: 1

Code: 0

URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Core.js

 

Message: Invalid character

Line: 1

Char: 1

Code: 0

URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/jQuery.js

 

Message: Invalid character

Line: 1

Char: 1

Code: 0

URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/jQueryPlugins.js

 

Message: Invalid character

Line: 1

Char: 1

Code: 0

URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/Common/Navigation/NavigationScripts.js

 

Message: Invalid character

Line: 1

Char: 1

Code: 0

URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2010.2.929/ComboBox/RadComboBoxScripts.js

 

Message: 'Telerik' is undefined

Line: 306

Char: 5

Code: 0

URI: http://mySiteUrl

Dimitar Terziev
Telerik team
 answered on 29 May 2012
6 answers
186 views
I have a grid which uses advanced databinding to a collection of custom objects. My declaration is below. The grid exists in a pageview of a tab which is not selected by default. When I switch to the tab this grid is on, I get the following javascript error and the grid does not display:

a[d].get_visible is not a function

which points to line 1561 of the script resource:
var a=this._owner.get_masterTableView().get_columns(); 
for(var d in a){if(!a[d].get_visible()){this._owner.get_masterTableView().showColumn(d); //error is here

when I switch tabs, I get a reference to the grid client-side and repaint. What is odd is, if I select the tab this grid is on by default, it binds and displays properly. It is only when the page loads with a different tab by default that this error occurs when I switch to this grid's tab. Anyhow, this page is fairly complicated, so I first wanted to see if you can tell from the error and what it is pointing to, what might be causing this error. I checked the datasource and it has 31 rows and data for each column in the grid declaration, so I don't think it is a data issue.

Grid Declaration:
<telerik:RadGrid id="rgDataSCHX"
                        runat="server"
                        AutoGenerateColumns="False"
                        Skin="Office2007"
                        AllowSorting="False"
                        AllowPaging="False"
                        Height="100%"
                        ShowFooter="False"
                        >
 
            <MasterTableView 
                        DataKeyNames="Id"
                        ClientDataKeyNames="Id"
                        Width="100%"
                        TableLayout="Fixed"
                        UseAllDataFields="True"
                        >
                 
                <Columns>
                    <telerik:GridBoundColumn HeaderStyle-Width="100px" HeaderText="Group" DataField="GroupName"  />
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="P(#N)" DataField="PlacementStatCount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Work Placement Count"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="P(#D)" DataField="PlacementPoolCount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Work Placement Pool"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="P(%)" DataField="PlacementPctString" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Work Placement %"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="60px" HeaderText="WA(#N)" DataField="WorkAssessmentPlacementStatCount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Work Assessment Count"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="WA(#D)" DataField="WorkAssessmentPlacementPoolCount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Work Assessment Pool"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="WA(%)" DataField="WorkAssessmentPlacementPctString" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Work Assessment %"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="CP(#N)" DataField="NonWorkPlacementStatCount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Community Placement Count"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="CP(#D)" DataField="NonWorkPlacementPoolCount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Community Placement Pool"/>
                    <telerik:GridBoundColumn HeaderStyle-Width="55px" HeaderText="C(%)" DataField="NonWorkPlacementPctString" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderTooltip="Current Community Placement %"/>
                </Columns>
                <CommandItemTemplate>
                 
                </CommandItemTemplate>
            </MasterTableView>
            <ItemStyle BorderStyle="None" />
            <GroupingSettings GroupByFieldsSeparator="" CaseSensitive="False" />
            <ClientSettings  AllowExpandCollapse="False">
                <ClientEvents OnFilterMenuShowing=""  />
                <Selecting AllowRowSelect="False"  />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="100%" FrozenColumnsCount="1" />
                <Resizing AllowColumnResize="False" ClipCellContentOnResize="False" EnableRealTimeResize="False" ResizeGridOnColumnResize="True"/>
            </ClientSettings>
            <ExportSettings ExportOnlyData="true" OpenInNewWindow="true" IgnorePaging="true"  >
                <Excel Format="ExcelML" FileExtension="xls" />
            </ExportSettings>
        </telerik:RadGrid>

Andrey
Telerik team
 answered on 29 May 2012
9 answers
141 views
I guess this question was asked in this thread which has a help link expired

I have a timeline view, one slot each day.
Let's say there's an appointment that last 7 days. I would like, programmatically, to have it coloured blue for the first 4 days and red the remaing 3 days (better, setting css style), is it possible?
Thank you
Kate
Telerik team
 answered on 29 May 2012
1 answer
149 views
Currently only one button can be embedded inside a textbox. Is it possible to embeed multiple buttons inside the textbox on the simillar lines?
Vasil
Telerik team
 answered on 29 May 2012
1 answer
133 views
I have a very wide grid with many columns. For many of them the header and data are small but the filter is wide enough to include a textbox, plus the filter icon, plus an extra icon like for a date field.

I'd like to intentionally break these wide filter fields after the textbox so that the entire column width isn't burdened because of the filter.

So:

[textbox] <br/>
{date/time icon + &nbsp; + } [filter icon]

I know there is info available on creating custom filters. I'd like to avoid creating a completely new custom filter (template). I'd rather just get a better handle on styling the default filter for this "simple" purpose.

The TD for filters has an explicit "white-space: nowrap", specifically doing the opposite of what I want. Would a change to CSS class rgFilterRow help here? RadPicker controls are different, more complex.

Is there a better approach to this? Custom FilterTemplate really the way to go when fine tuning like this?

Thanks!
Tsvetina
Telerik team
 answered on 29 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?