Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
Hi,

How can i feed in the time from SQL Server 2008 (time datatype) into a RadTimePicker?
Please suggest.

Thanks
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2010
5 answers
516 views
Hi ALL,

I am using ASP.Net 3.5, C# with latest Telerik component.
I am stuck with a problem related to excel export of the radgrid.

I have 2 dropdowns DDL1 and DDL2 , user select values from these 2 dropdownlist , and based on the selected values from 2 dropdownlist , I am showing data in radgrid.

Now user can export the Grid data to excel , everything is working fine upto here.
Now my problem is that how I can show the selected values of dropdownlist on top of the exported excel sheet ?
==============
for example- 

Value 1 - "Selected value from DDL1"    Value 2- "Selected value from DDL2"
(I want to add this row on top of the exported excel sheet.)

Exported Grid data here

==================

Please point me to right direction how can I achive this functionality ??

Thank you ,
Aditya .
Safa Amini
Top achievements
Rank 1
 answered on 12 Jul 2010
1 answer
255 views
How is it different from AllowCustomText?
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2010
1 answer
124 views
Hi
I have a table of products that is being output to pdf, and is working fine.  However I need to change the
format a bit to group the results by one of the columns ("Region") .
I know this is relatively simple but the documentation says it can be done, without giving much in the
way of example.
I have in the MaterTableView 
<GroupByExpressions>
        <telerik:GridGroupByExpression>
        </telerik:GridGroupByExpression>
<
/GroupByExpressions>
but I can't figure out the syntax for telling it to group by the column 'Region'. 

Thanks for any help.

Sorry for being dumb!

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 11 Jul 2010
1 answer
67 views
Hi,

Environment: VS 2008 SP1, RadControls for ASP.NET AJAX Q1 2010 NET35.

I am using below link as a prototype...

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/gridattachmentcolumn/defaultcs.aspx

My question: Is it possible to remove the path name from Gridattachment column as well as in Upload window. I mean I do not want to see C:\fakepath\ViewState.gif in upload window as well as in Gridattachment column in Radgrid. I would like to see just ViewState.gif


Please see attached. Thanks

Gc_0620
gc_0620
Top achievements
Rank 1
 answered on 10 Jul 2010
5 answers
91 views
Hi All

Have a RadGrid with datas which works fine. I have used Custom Skin.

I have used SLIDER control for Paging.

<style type="text/css"
        .GridPager_ImpetusBlue .radslider 
        { 
            floatleft
            margin:7px 115px 0 5px
            padding-bottom:5px;        
        } 
    </style> 

I have used this css property to make the paging go to the right and for the slider control.

Have attached a screenshot.

Please give me a solution to rectify this.

Thank You

-Anto


Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 10 Jul 2010
7 answers
213 views
Hi,

I am using StripFormattingOnPaste="MSWordRemoveAll,Font" to remove Word and other fonts.
This works well on windows, but the same not on mac. Especially the mac fonts which are not available in windows are still pasted in their original format. While it should convert those fonts with the default fonts.

Can anybody give any solution ASAP?
Mansi
Top achievements
Rank 1
 answered on 10 Jul 2010
4 answers
143 views
Hi,

I'm using DatePicker and I want achieve few modifications in the date format. I want the date format like dd-mm-yyyy but in datepicker i'm getting dd/mm/yyyy. I have given the DateRangeSeperator = "-" but its not working. Also I want to remove to time stamp after date. Any help would be appreciated.
nisha
Top achievements
Rank 1
 answered on 10 Jul 2010
0 answers
155 views

 I found out use ScriptManager.RegisterStartupScript will work.

JJ
Top achievements
Rank 1
 asked on 09 Jul 2010
1 answer
239 views
Hi Telerik,
I have a Grid with Edit form. I made a gridTemplateColumn in "Normal Mode" in which i have a link button to simulate the Edit command. However when i click on this link button, the template form isnt show up. Do i miss something? here is the code snippet.
<telerik:RadGrid runat="server" ID="grdEmployee" Width="860px" AutoGenerateColumns="false"
    AllowSorting="true" OnItemCommand="grdEmployee_ItemCommand" OnSortCommand="grdEmployee_SortCommand"
    OnPageIndexChanged="grdEmployee_PageIndexChanged" OnNeedDataSource="grdEmployee_NeedDataSource"
    OnItemCreated="grdEmployee_ItemCreated" OnItemDataBound="grdEmployee_ItemDataBound">
    <MasterTableView TableLayout="Auto" CommandItemDisplay="Top" EditMode="EditForms">
        <CommandItemSettings ShowAddNewRecordButton="true" ShowRefreshButton="false" ShowExportToCsvButton="true"
            ShowExportToExcelButton="true" ShowExportToPdfButton="true" ShowExportToWordButton="true" />
         
        <Columns>
            <telerik:GridEditCommandColumn>
            </telerik:GridEditCommandColumn>
            <telerik:GridTemplateColumn HeaderText="Name" DataField="FirstName" UniqueName="NameColumn"
                SortExpression="FirstName">
                <ItemStyle Width="100px" HorizontalAlign="Center" />
                <HeaderStyle Width="100px" HorizontalAlign="Center" />
                <ItemTemplate>
                    <asp:LinkButton runat="server" ID="lnkName" CommandArgument='<%#Eval("UserID")%>'
                        CommandName="cmdUserProfileEditing" Text='<%# DataBinder.Eval(Container, "DataItem.FirstName").ToString() +" "+ DataBinder.Eval(Container, "DataItem.LastName").ToString()  %>'></asp:LinkButton>
                    <asp:Label runat="server" ID="lblName" Text='<%# DataBinder.Eval(Container, "DataItem.FirstName").ToString() +" "+ DataBinder.Eval(Container, "DataItem.LastName").ToString()  %>'
                        Visible="false"></asp:Label>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn HeaderText="Department" DataField="DepartmentName" UniqueName="Department">
                <ItemStyle Width="130px" HorizontalAlign="Center" />
                <HeaderStyle Width="130px" HorizontalAlign="Center" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Location/Office" DataField="LocationName" UniqueName="LocationName">
                <ItemStyle Width="130px" HorizontalAlign="Center" />
                <HeaderStyle Width="130px" HorizontalAlign="Center" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Title" DataField="Title" UniqueName="TitleColumn">
                <ItemStyle Width="100px" HorizontalAlign="Center" />
                <HeaderStyle Width="100px" HorizontalAlign="Center" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Phone" DataField="phone" UniqueName="Phone">
                <ItemStyle Width="120px" HorizontalAlign="Center" />
                <HeaderStyle Width="120px" HorizontalAlign="Center" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Int. Extension" DataField="phoneext" UniqueName="Extension">
                <ItemStyle Width="70px" HorizontalAlign="Center" />
                <HeaderStyle Width="70px" HorizontalAlign="Center" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn HeaderText="Cell" DataField="phone2" UniqueName="Cellphone">
                <ItemStyle Width="120px" HorizontalAlign="Center" />
                <HeaderStyle Width="120px" HorizontalAlign="Center" />
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings EditFormType="Template">
            <FormTemplate>
                <div style="margin-left: 50px">
                    <table cellspacing="2" cellpadding="1" width="100%">
                        <tr>
                            <td>
                                Department
                            </td>
                            <td>
                                 
                            </td>
                            <td>
                                <telerik:RadComboBox runat="server" ID="cboDept" Height="200px" DataSource='<%#GetDepartment() %>'
                                    DataTextField="Name" DataValueField="DepartmentID" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Location
                            </td>
                            <td>
                                 
                            </td>
                            <td>
                                <telerik:RadComboBox runat="server" ID="cboLoc" Height="200px" DataSource='<%#GetLocation() %>'
                                    DataTextField="LocationName" DataValueField="LocationID" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Title
                            </td>
                            <td>
                                 
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtTitle" Text='<%#Bind("Title") %>' />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Phone
                            </td>
                            <td>
                                 
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtPhone" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="3">
                                <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                                    runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
                                </asp:Button
                                <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
                                    CommandName="Cancel"></asp:Button>
                            </td>
                        </tr>
                    </table>
                </div>
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
    <PagerStyle AlwaysVisible="true" Mode="NextPrev" />
    <ClientSettings EnableAlternatingItems="true" EnableRowHoverStyle="true">
        <Scrolling AllowScroll="true" ScrollHeight="400px" UseStaticHeaders="true" />
    </ClientSettings>
    <ExportSettings HideStructureColumns="true" ExportOnlyData="true" IgnorePaging="true"
        OpenInNewWindow="true">
    </ExportSettings>
</telerik:RadGrid>
Bogice
Top achievements
Rank 1
 answered on 09 Jul 2010
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?