Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
269 views

i need to set the grid bound column value but using javascript when checkbox is checked or uncheked and set all rows value when i clicked select all checkox.

i can do it easily with server side code but i need to do it with client side.

Muhammad
Top achievements
Rank 1
 answered on 04 Jun 2015
5 answers
172 views

I use Html.Telerik (). Grid and I bind the event Update on the controller method. The editing line is feeding well, but I can not click the submit button that triggers nothing ...
IE and FF, it works very well ...
I'm on the 2012.3.1018 version 2013.2.611 I update in version but it did not change anything!

Can you help me please?

Thank you for your return.
Maria Ilieva
Telerik team
 answered on 04 Jun 2015
1 answer
117 views

Hello, 

I have a Simple RadGrid that is using Export to Excel.  When running locally on Visual Studio 2012 i have no issues.  When it runs on the prduction server using IIS 8 I get blank spread sheets. 

 

Markup: 

<telerik:radgrid id="rgCReport" runat="server" datasourceid="LinqDataSource1" autogeneratecolumns="false" allowpaging="True"
             allowsorting="True" clientsettings-resizing-allowcolumnresize="true" enabletheming="False"
             pagesize="20" cellspacing="0" gridlines="None">
             <ExportSettings>
                <Excel Format="ExcelML" />
             </ExportSettings>
             <MasterTableView  PagerStyle-Mode="NextPrevAndNumeric" AutoGenerateColumns="false" EditMode="InPlace" >
                 <NoRecordsTemplate>
                     No Request Found
                 </NoRecordsTemplate>
                
                 <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                 </RowIndicatorColumn>
                 <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                 </ExpandCollapseColumn>
                 <Columns>
                     <telerik:GridBoundColumn DataField="Created" HeaderText="Created" SortExpression="Created"
                         UniqueName="Created" DataFormatString="{0:d}<br/>{0:t}">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="DealerName" HeaderText="Dealer Name" SortExpression="DealerName"
                         UniqueName="DealerName">
                         <HeaderStyle Width="110px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" SortExpression="FirstName"
                         UniqueName="FirstName">
                         <HeaderStyle Width="110px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" SortExpression="LastName"
                         UniqueName="LastName">
                         <HeaderStyle Width="110px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="PhoneNumber" HeaderText="Phone" SortExpression="PhoneNumber"
                         UniqueName="PhoneNumber">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="Email" HeaderText="Email" SortExpression="Email"
                         UniqueName="Email">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="DealerCity" HeaderText="Dealer City" SortExpression="DealerCity"
                         UniqueName="DealerCity">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="DealerState" HeaderText="Dealer State" SortExpression="DealerState"
                         UniqueName="DealerState">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="PCMethod" HeaderText="Contact Method" SortExpression="PCMethod"
                         UniqueName="PCMethod">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                     <telerik:GridBoundColumn DataField="Comments" Display="false" HeaderText="Comments" SortExpression="Comments"
                         UniqueName="Comments">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                      <telerik:GridBoundColumn DataField="CarModel" Display="false" HeaderText="Model" SortExpression="Comments"
                         UniqueName="CarModel">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                      <telerik:GridBoundColumn DataField="CarVin" Display="false" HeaderText="Vin" SortExpression="Comments"
                         UniqueName="CarVin">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                      <telerik:GridBoundColumn DataField="CarYear" Display="false" HeaderText="Year" SortExpression="Comments"
                         UniqueName="CarYear">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
                      <telerik:GridBoundColumn DataField="CarMake" Display="false" HeaderText="Make" SortExpression="Comments"
                         UniqueName="CarMake">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
 
                     <telerik:GridBoundColumn DataField="Preferred" HeaderText="Preferred" SortExpression="Preferred"
                         UniqueName="Preferred">
                         <HeaderStyle Width="68px" />
                     </telerik:GridBoundColumn>
 
 
                 </Columns>
                 <EditFormSettings>
                     <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                     </EditColumn>
                 </EditFormSettings>
             </MasterTableView>
   
             <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
             </HeaderContextMenu>
         </telerik:radgrid>

 

Code Behind:

protected void exportBtn_Click(object sender, EventArgs e)
 {
 
     this.rgCReport.MasterTableView.GetColumn("Comments").Display = true;
     this.rgCReport.MasterTableView.GetColumn("CarModel").Display = true;
     this.rgCReport.MasterTableView.GetColumn("CarVin").Display = true;
     this.rgCReport.MasterTableView.GetColumn("CarYear").Display = true;
     this.rgCReport.MasterTableView.GetColumn("CarMake").Display = true;
     this.rgCReport.ExportSettings.FileName = "Dealer Contact Report";
     this.rgCReport.ExportSettings.ExportOnlyData = true;
     this.rgCReport.ExportSettings.IgnorePaging = true;
     this.rgCReport.MasterTableView.ExportToExcel();
 
 }


 Is there something i can check to see why this is happening? there are no console errors in browser. 


Kostadin
Telerik team
 answered on 04 Jun 2015
1 answer
56 views
I need to create a table script as displayed in attached image .the text should be on top of image.Please help as it will decide whether to use telerik control or not.
Nencho
Telerik team
 answered on 04 Jun 2015
6 answers
64 views
can  we sub divide our time Time slot Region into more parts
eg:
suppose we have 10 hour time slot and that have 10 regions of duration of 1 hour, so i want to sub divide this 1hour Time region into 6 parts of each 10 min, so that on Stretching of any appointment its duration will allow me to Stretch 10 min duration to Stretching not for 1 hour Stretching duration that is the default behaviour of Scheduler if i set 1 hour region.
so i just want to divide region into sub region so that Stretching is done on sub regions


Thanks
Regraded As:
Muhammad Ali
Web Developer
Softech World Wide LLC.

Plamen
Telerik team
 answered on 04 Jun 2015
1 answer
148 views

We currently have implemented RadEditor with the default paragraph tag new line mode.  It is working correctly - when someone hits the Enter key in the editor, it encapsulates the content within paragraph tags.

However, when we paste content in from the clipboard, RadEditor is generating a <br/> tag for each new line.

We would like the Editor to have the same paragraph tag new line behavior when pasting.  Is there an easy way to do this, or is writing a custom filter the only way to handle it?

 

Ianko
Telerik team
 answered on 04 Jun 2015
5 answers
299 views
I've got a RadTextBox which I set the font-size to "XX-Large". In IE, when the page loads, the control looks like this:

When I focus and backspace on it, it looks like this:


Only when it then loses focus, it is aligned correctly:


Using 2012 Q2. Only tested in IE 9 and 10.
Gaurab
Top achievements
Rank 1
 answered on 03 Jun 2015
1 answer
87 views

Hi,

When I use the Bootstrap theme, controls don't stay inside their containers.

In the screenshot, the controls do not stay inside the grid column.

Sam
Top achievements
Rank 1
 answered on 03 Jun 2015
2 answers
169 views

Hello!

I'm testing telerik components and looking for best approach to solve situation like on attached picture.

What is best solution to put "MarketingDescription" below this link? I wolud like to have something like second screenshot.

Thank you.

 

        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" GroupPanelPosition="Top" AllowPaging="True" PageSize="20">
            <ExportSettings>
                <Pdf PageWidth="">
                </Pdf>
            </ExportSettings>
            <MasterTableView DataSourceID="SqlDataSource2" NoMasterRecordsText="Molimo odaberite kategoriju.">
                <Columns>
                    <telerik:GridBoundColumn DataField="Artikal_ID" FilterControlAltText="Filter Artikal_ID column" HeaderText="Å ifra artikala" ReadOnly="True" SortExpression="Artikal_ID" UniqueName="Artikal_ID">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
 
                    </telerik:GridBoundColumn>
 
                    <telerik:GridImageColumn DataImageUrlFields="Artikal_ID" DataImageUrlFormatString="IMG/{0}.jpg" AlternateText="Slika" DataAlternateTextField="Artikal"
  ImageAlign="Middle" ImageHeight="60px" ImageWidth="60px" HeaderText="Slika" HeaderButtonType="None">
    </telerik:GridImageColumn>
 
 
                    <telerik:GridHyperLinkColumn AllowSorting="False" DataNavigateUrlFields="Artikal_ID" DataNavigateUrlFormatString="product_info.aspx?artikal_ID={0}" DataTextField="Naziv_artikla" DataTextFormatString="{0}" FilterControlAltText="Filter column column" Text="Naziv" UniqueName="column">
                    </telerik:GridHyperLinkColumn>
                    <telerik:GridBoundColumn DataField="Osnovica" DataType="System.Decimal" FilterControlAltText="Filter Osnovica column" HeaderText="VPC" ReadOnly="True" SortExpression="Osnovica" UniqueName="Osnovica" DataFormatString="{0:F2}">
<ColumnValidationSettings>
<ModelErrorMessage Text=""></ModelErrorMessage>
</ColumnValidationSettings>
                        <HeaderStyle HorizontalAlign="Right" />
                        <ItemStyle HorizontalAlign="Right" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="MPC" DataType="System.Decimal" FilterControlAltText="Filter MPC column" HeaderText="MPC" ReadOnly="True" SortExpression="MPC" UniqueName="MPC" DataFormatString="{0:F2}">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                        <HeaderStyle HorizontalAlign="Right" />
                        <ItemStyle HorizontalAlign="Right" />
                    </telerik:GridBoundColumn>
                     
                    <telerik:GridBoundColumn DataField="MarketingDescription" FilterControlAltText="Filter MarketingDescription column" UniqueName="MarketingDescription" HeaderText="MarketingDescription" ReadOnly="True">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

Marko
Top achievements
Rank 1
 answered on 03 Jun 2015
0 answers
79 views

Hi,

I have a report must use rows group like image attach. I want move row group in last column.
Who know how to do this please help me.

Thanks a lot!

Thien
Top achievements
Rank 1
 asked on 03 Jun 2015
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?