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

I have a RadGrid displaying 6 columns from an SQL DataSource. 'Autogenerate columns'
is checked.

All works fine except I almost never want to use column names from a database
for ordinary website visitors. They are condensed and unfriendly (The columns, that is,
not the website visitors!).

With the the standard Ajax toolkit the column headers could be specified separately, but
I don't see an easy way to do this with RadGrid.

Also I need to adjust column widths and justification( right/left/center)

How can I best do these things?

(VB for preference)

Thanks

Clive

Clive Hoggar
Top achievements
Rank 1
 answered on 24 Feb 2009
5 answers
193 views
Hi,

I am using your Editor control in my ongoing project, all of the thing are working well but when I tried to save the content in edit into html file the problem arises. The problem arises whenever I copy and paste the text from any where with in editor control; like " my text .   my text    .", the text display in editor properly, regardless after completing to paste the text into the control , I save the content into html external  file, a special character "Â" automatically displayed into the html file. Further more I also tried to see the code "Â" in the source of HTML, it is not in the source of html. I think it is unusual problem.

I tried to resolve this problem but I am unable to resolve that problem. Even I used your samples too the same problem occurs while using the telerik samples, below is my infected code :

Adeel ahmed   . Adeel ahmed . Adeel ahmed   . Adeel ahmed . Adeel ahmed   . Adeel ahmed . Adeel ahmed   . Adeel ahmed . Adeel ahmed   . Adeel ahmed . Adeel ahmed   . Adeel ahmed .

Kindly help me I am in trouble.

Adeel Ahmed



Rumen
Telerik team
 answered on 24 Feb 2009
4 answers
153 views
I've been racking my brain on why I suddenly am having a javasript error on my link manager within the editor after I upgraded to the latest telerik DLL.  I found that it only occurs when externalDialogPath is implemented.

I need help quick as this is important in my production app and I have already released the latest telerik DLL.  I can actually replicate this error in the telerik demo  http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx  by trying to create any link using the linkManager.  It gives an 'outerHTML' is null or not an object


Scott
Top achievements
Rank 2
 answered on 24 Feb 2009
1 answer
90 views
Hello,

Is it possible to have multiple RadAjaxPanel post back when one does?  I need it to work like an update panel so I can edit another region of the page...  So when one RadAjaxPanel updates itself, I need another one to update too.

Thanks.
Iana Tsolova
Telerik team
 answered on 24 Feb 2009
5 answers
231 views

Hi,

I have a question in this topic. I reviewed this topic in the help (

http://www.telerik.com/help/aspnet-ajax/grdpopulatinggridfromxml.html) and also I checked the example from the demo and I have this question: is there a way to load the structure of the grid (columns and format only, no data) from and XML into a grid that has been place in the page in the design time? I do not want to create the grid dynamically. If so, can somebody provide me an example?

 

Thanks

Sebastian
Telerik team
 answered on 24 Feb 2009
1 answer
61 views
Dear Telerik Team,

I would like to know wether the latest ASP.NET Ajax controls need ASP.NET 3.5 to be installed to run properly.

Furthermore it would interest me wether your ASP.NET Ajax also run on a Windows XP + Apache 2.0.63. I tried your 3 sample projects in Firefox but all of them showed many html errors like a-tags(links) arent working and other stuff like missing elements.

Thanks in advance for an answer.

bastien
Top achievements
Rank 1
 answered on 24 Feb 2009
1 answer
106 views
Hello,

I use an editable Radgrid for some table management.
How can I automatically update the underlaying datatable? I now use the updatecommand.

Thanks in advance,
Keen
Princy
Top achievements
Rank 2
 answered on 24 Feb 2009
4 answers
127 views
Hello,

I am using the ColumnCreated handler in a RadGrid to set the .ButtonType and Alignment of the Edit and Delete Autogenerated columns.  This is working but when I try to size the columns the alignment shifts left.

 protected void grdSponsoredLinks_ColumnCreated(object sender, GridColumnCreatedEventArgs e) 
    { 
        // Set the LinkButtons to show as Edit / Delete icons instead 
        foreach ( GridColumn column in grdSponsoredLinks.MasterTableView.Columns ) 
        { 
            if ( column.ColumnType == "GridButtonColumn" ) 
            {                 
                (column as GridButtonColumn).ButtonType = GridButtonColumnType.ImageButton; 
              //  (column as GridButtonColumn).ItemStyle.Width = Unit.Point(C_DEFAULT_EDITCOMMAND_COLUMN_WIDTH);              
                (column as GridButtonColumn).ItemStyle.HorizontalAlign = HorizontalAlign.Center; 
 
 
            } 
            if ( column.ColumnType == "GridEditCommandColumn" ) 
            { 
                (column as GridEditCommandColumn).ButtonType = GridButtonColumnType.ImageButton; 
                (column as GridEditCommandColumn).ItemStyle.HorizontalAlign = HorizontalAlign.Center; 
            }             
        } 

If I uncomment out the line above the buttons align to the left.
Any suggestions would be welcomed.

Thanks
Reid
Top achievements
Rank 2
 answered on 24 Feb 2009
0 answers
168 views
hi i have used a radslider and radgrid control in a page . I use the sample coding which u have posted in your website . I am using ASP.NET AJAX 2.0 with VS2005. when the radslider is scrolled the values in the boxes are updating .But the RadGrid control is not updating .I have mentioned the coding below. 

 

<telerik:RadSlider runat="server" ID="RadSlider1" IsSelectionRangeEnabled="true" MaximumValue="100" MinimumValue="0" SmallChange="1"

 

 

SelectionEnd="100" SelectionStart="0" OnClientValueChange="OnClientValueChange" OnValueChanged="RadSlider1_ValueChanged"

 

 

OnClientSlideStart="OnClientSlideStart" AutoPostBack="true" Skin="Telerik" ShowDecreaseHandle="false" ShowIncreaseHandle="false" />

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="sqldsDiamsearchDetails" GridLines="Both" AllowPaging="true" PageSize="30" Skin="Telerik" Height="300px" Width="600px" >

 

 

 

 

 

<GroupPanel ID="GroupPanel1" PanelStyle-Width="100%" >

 

 

 

 

 

</GroupPanel>

 

 

 

 

 

<MasterTableView AutoGenerateColumns="false" DataKeyNames="Cutdesc" DataSourceID="sqldsDiamsearchDetails" Width="600px">

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="30" MinDisplayTime="500" >

 

 

 

 

 

<img src='<% =RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading1.gif") %>' alt="Loading.." style="border: 0; margin-top: 45px;" />

 

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<telerik:RadAjaxManager id="RadAjaxManager1" runat="server" OnAjaxSettingCreating="RadAjaxManager1_AjaxSettingCreating" >

 

 

 

 

 

<AjaxSettings >

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="RadSlider1">

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="start1" />

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="start2" />

 

 

 

 

 

</UpdatedControls>

 

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

 

</AjaxSettings>

 

 

 

 

 

</telerik:RadAjaxManager>



.cs

 

protected

 

void RadAjaxManager1_AjaxSettingCreating(object sender, AjaxSettingCreatingEventArgs e)

 

{

e.UpdatePanel.RenderMode =

UpdatePanelRenderMode.Inline;

 

}


 i need ur help.
Regards,
Prakash

prakash
Top achievements
Rank 1
 asked on 24 Feb 2009
1 answer
156 views
Hi there
I want to set MaxValue and MinValue for YAxis. But after doing that and setting AutoScale to "false" i'm running my page, webdevelopment server starts eating memory (100... 140... 180... 200mb... -> ), cpu near the 50% and... nothing happens.

But when i switch AutoScale to "true" - everything shows perfectly. See the sample code below.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="_TEST2.aspx.cs" Inherits="CN._TEST2" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadChart ID="RadChart1" runat="server" DataSourceID="SqlDataSource" Width="1000px" Visible="true" Height="250px" ChartTitle-Visible="false">  
            <Series> 
                <telerik:ChartSeries Name="Value" DataYColumn="Value" > 
                    <Appearance LabelAppearance-Visible="false" Border-Width="1" Border-Color="Silver" FillStyle-MainColor="243, 206, 119" FillStyle-SecondColor="210, 157, 44" /> 
                </telerik:ChartSeries> 
            </Series> 
          
            <PlotArea> 
                    <YAxis AutoScale="false" MaxValue="4000000" MinValue="-4000000" /> 
                    <Appearance Dimensions-Margins="20px, 130px, 60px, 130px" /> 
            </PlotArea> 
            <Legend Visible="false" /> 
        </telerik:RadChart> 
          
        <asp:SqlDataSource ID="SqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:CN %>" 
        SelectCommand="SELECT 3500000 as 'Value' UNION SELECT -3000000 as 'Value' UNION SELECT 2500000 as 'Value' UNION SELECT -2000000 as 'Value'" 
        SelectCommandType="Text" /> 
    </div> 
    </form> 
</body> 
</html> 
 
e-statik
Top achievements
Rank 1
 answered on 24 Feb 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?