Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
In the release notes for Q1 2009 there is a note under the RadGrid that states:

Client-side data-binding improvements - GridCheckBoxColumn and GridButtonColumn populated properly for extra rows(>PageSize)

I have a column in my grid, defines as shown here:

<telerik:GridButtonColumn
ButtonType="LinkButton"
CommandName="ViewSupplier"
DataTextField="Supplier_Code"
HeaderText="Supplier"
UniqueName="ViewSupplier">
</telerik:GridButtonColumn>

With client side data binding when the page size is increased this column is not populated for the extended rows.  (i.e. If I initially had 10 rows and expand the page size to 20, the first 10 rows have values, but the next 10 rows do not show anything.)

Wasn't this supposed to be fixed in this release?

Regards,
Cynthia

Todd Anglin
Top achievements
Rank 2
 answered on 27 Mar 2009
4 answers
460 views

Please forgive me if this question is elemental - I am new to ASP.NET, Telerik, and C#, so I'm struggling a bit.  Still, I have managed to create a project that uses Forms Authentication and take me to the page containing my first grid, among other things.  I just need another light bulb to go off, then I'll be on my way :)

My RadGrid is named RadGrid1.  It contains the following GridHyperLInkColumn.

 

 

<telerik:GridHyperLinkColumn

 

 

    HeaderText="eMail"

 

 

    Text="email"

 

 

    UniqueName="email_link"

 

 

    SortExpression="email"

 

 

    HeaderStyle-Width="25px"

 

 

    DataNavigateUrlFields="email"

 

 

    DataNavigateUrlFormatString="mailto:{0}"

 

 

    HeaderStyle-HorizontalAlign="Center"

 

 

    ItemStyle-HorizontalAlign="Center">

 

 

    <HeaderStyle HorizontalAlign="Center" />

 

 

    <ItemStyle HorizontalAlign="Center" />

 

 

</telerik:GridHyperLinkColumn>

As the grid is being prepared, I want to read the value of the email column in my data source, and if is is null I want to modify the hyperlink column so that the text '(none)' is displayed and the 'mailto:{0}' in the DataNavigateUrlFormatString = ''.  In other words, I only want to display a valid hyperlink if there's an email for this row.

If someone could show me exactly what to do - every loop and line - it would help immensely.

Thanks in advance!
S--

 

Steven
Top achievements
Rank 1
 answered on 27 Mar 2009
4 answers
164 views
Hello,

I upgraded from the Q3 2008 to the Q1 2009 and when I drag the Rad Chart Control the designer can not generate the control.

I saw a post in this forum that someone else had the same issue and the admin gave him a hotfix which should fix that.

I got the zip file and unzipped it and I saw the App_Data, Bin, Bin35 ,etc folders.

So I copied them and pasted them in my C:\Program Files\Telerik\RadControls for ASPNET AJAX Q1 2009 folder thus overriding the existing folders - the hotfix did not have an installer file.

Then everything stopped working - my datagrid, my scheduler - everything.

So I went and uninstalled everything, removed the references from my project and re-installed and re-added my controls.

So Now I am back at square 1 - I have the Q1 2009 version and I can't use the RadChart control.

Please help me out to resolve this issue.

I am thinking - should I remove all references from my app, copy the folders and then re-add the references to my application and re-add the controls??? OR do you have a hotfix with an installer and some instructions on how to handle it?

Thanks

Susan
Susan
Top achievements
Rank 1
 answered on 27 Mar 2009
2 answers
249 views
Hi,

I was reading the latest Telerik Monthly Newsletter and saw this comment:

Skin chooser - A nice extra that comes with our package is the skin chooser control that allows your users to change the look and feel of the application in an instant (it is featured in both the QuickStart online demos and the WebMail demo).

So exactly where is it? I looked on the demo site for AJAX controls and didn't see it there. Also the toolbox in studio does not show a Skin Chooser component.

Thanks,
Bruce
Bruce Hochstetler
Top achievements
Rank 2
 answered on 27 Mar 2009
1 answer
266 views
Using version 2008.1.619.20

If I do this in codebehind:

MyRadGrid.HeaderStyle.CssClass="MyHeaderStyle" 

shouldn't I see something like the following in the generated HTML at runtime?
<thead>
  <tr>
<th scope="col" class="MyHeaderStyle">

What I'm seeing is this:

<thead>
  <tr>
   <th scope="col" class="GridHeader_Default">

Thanks
Todd Anglin
Top achievements
Rank 2
 answered on 27 Mar 2009
4 answers
98 views
Hi

I am having an odd problem - what am I doing wrong here? It takes two clicks to get it
to do its stuff (at this point it just sets the panel invisible)
the RadAjaxPanel is used with a Textbpx and a button
<telerik:RadAjaxPanel ID="RadAjaxPanelDownload" runat="server" Visible="true" defaultButton="ButtonDownload" Height="50px" Width="164px">  
<telerik:RadTextBox ID="RadTextBoxEmailDownload" runat="server" 
Width="154px" MaxLength="50" style="font-size:10px !important; padding:2px !important;">  
</telerik:RadTextBox><br /> 
<asp:Button ID="ButtonDownload" runat="server" Text="GO" CausesValidation="False"   
UseSubmitBehavior="False"/>  
</telerik:RadAjaxPanel> 
and the code behind
Protected Sub ButtonDownload_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles ButtonDownload.Click  
' read the email and save, email to customer requesting conf, alert  
RadAjaxPanelDownload.Visible = False 
End Sub 

 

When I click the button nothing happens. Click it again and the code runs, the panel goes invisible.
It's as if the first click is need to get focus.
Am I missing something?

Thanks

Clive

Clive Hoggar
Top achievements
Rank 1
 answered on 27 Mar 2009
6 answers
119 views
I set up my grid for a row to go into Edit Mode when it's double clicked.  This works fantastic.  My problem is when I click 'New', a new blank record appears, I enter some info, then instead of clicking Insert, I double click on another row.  I get the following error:

only items with IsInEditMode set to true can be updated.

My code is copied from Telerik's demo.  Any ideas?
TPerry
Top achievements
Rank 1
 answered on 27 Mar 2009
2 answers
448 views
I have GridBoundColumn in my RadGrid and data in it are of type bool. But I dont want to see "True" and "False" on my form: I want something else to be written there. Can I use DataFormatString for that? And what format can I use?
Daniel
Telerik team
 answered on 27 Mar 2009
3 answers
181 views
Hi,

I have a RadnumericTextbox inside a panel.
This panel was disable by default and so Radnumerictextbox was disable
I have a button to enable the panel so the user can modify data.
With the new version 2008.3 1314 my radnumerictextbox is not enable when i make
the panel enable. before it works perfectly !!
Anyone have a idea ?

Eric
Daniel
Telerik team
 answered on 27 Mar 2009
1 answer
112 views
Hi, I am using Radcontrols of Q2 2008 and I am using acrobat Reader Version 8

My problem is when I am exporting grid data to pdf where it works fine on some machines and on some machines it throws following error:

There was an error in opening this document. This file can not be found.

This happens only when I directly opens the file with out saving it.

my code is as follows:

<radG:RadGrid ID="dgReport" runat="server" Skin="Default" EnableEmbeddedSkins="false" >
                                <ExportSettings OpenInNewWindow="True" IgnorePaging="True">
                                    <Pdf Author="Anonymous" Title="RadGrid export" Subject="RadGrid Export" Keywords="None"
                                        AllowCopy="True" AllowModify="True" PageTopMargin="1in" PageBottomMargin="1in"
                                        PageLeftMargin="0.2in" PageRightMargin="0.2in"></Pdf>
                                </ExportSettings>
                                <MasterTableView  HeaderStyle-Wrap="false" ItemStyle-Wrap="false">
                                    <ExpandCollapseColumn>
                                        <HeaderStyle Width="20px" />
                                    </ExpandCollapseColumn>
                                    <RowIndicatorColumn>
                                        <HeaderStyle Width="20px" />
                                    </RowIndicatorColumn>
                                  
                                </MasterTableView>
                                <FilterMenu EnableTheming="True">
                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                </FilterMenu>
            </radG:RadGrid>

code behind:

bool isPdfExport = false;
protected void btnExportToPdf_Click(object sender, EventArgs e)
        {
          
                isPdfExport = true;
                 dgReport.ExportSettings.ExportOnlyData = false;
                dgReport.ExportSettings.Pdf.PageWidth = 2000;
                dgDReport.MasterTableView.ExportToPdf();
         }

can any one suggest the solution for this.

Thanks,
Daniel
Telerik team
 answered on 27 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?