Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views
Dear all,
I'm currently our portal inside my company usually the user upload files. everything is working fine.

i tried to link the location of the files using gridview, the problem the link location within our network like this "\\portal\TS\RFP\8971\Sales\RFQ.pdf"
one the user click on the file using IE8.0  the page is response as "Internet Explorer cannot display the webpage" once i refresh the file is open and work fine while in FireFox it's not working at all.

how i can solve this issue

thanks for your support in advanced

Maria Ilieva
Telerik team
 answered on 20 Apr 2011
1 answer
53 views
Hello,

When i keep the chart.skin ="Default" then it generates chart with very nice colors and looks like 3D. Plz see attached image. I would like to generate the same runtime using code behind. Which are properties need to set to achieve same bar colors ?

Is there any KB dock where I can get all the other nice pattens that I can generate ?
Missing User
 answered on 20 Apr 2011
4 answers
97 views
How can I recreate the following formatting within my VB?

            <Appearance> 
                <FillStyle FillType="ComplexGradient"
                    <FillSettings> 
                        <ComplexGradient> 
                            <telerik:GradientElement Color="254, 122, 218" /> 
                            <telerik:GradientElement Color="244, 80, 198" Position="0.5" /> 
                            <telerik:GradientElement Color="205, 46, 153" Position="1" /> 
                        </ComplexGradient> 
                    </FillSettings> 
                </FillStyle> 
                <TextAppearance TextProperties-Color="51, 51, 51"
                </TextAppearance> 
                <Border Color="174, 12, 111" /> 
            </Appearance> 
 

This is what I've tried with very limited success:

            Dim chartSeries As New Telerik.Charting.ChartSeries() 
            chartSeries.Name = "BUDGET" 
            chartSeries.Type = Telerik.Charting.ChartSeriesType.Bar 
            RadChart1.Series.Add(chartSeries) 
            RadChart1.Series(2).DataYColumn = "budget" 
            'RadChart1.Series(2).Appearance.FillStyle.FillType = Telerik.Charting.Styles.FillType.ComplexGradient 
            'RadChart1.Series(2).Appearance.FillStyle.FillSettings.ComplexGradient.Item(0).Color = Drawing.Color.Tomato 
            'RadChart1.Series(2).Appearance.FillStyle.FillSettings.ComplexGradient.Item(1).Color = Drawing.Color.Red 
            ' RadChart1.Series(2).Appearance.FillStyle.FillSettings.ComplexGradient.Item(0).Position = 0.5 
            'RadChart1.Series(2).Appearance.FillStyle.FillSettings.ComplexGradient.Item(1).Position = 1 
            RadChart1.Series(2).Appearance.FillStyle.MainColor = Drawing.Color.Tomato 
            RadChart1.Series(2).Appearance.FillStyle.SecondColor = Drawing.Color.Red 
            RadChart1.Series(2).Appearance.TextAppearance.TextProperties.Color = Drawing.Color.Black 
            RadChart1.Series(2).Appearance.Border.Color = Drawing.Color.Tomato 
 


Thanks in advance,
Ryan
Missing User
 answered on 20 Apr 2011
3 answers
186 views
I'm attempting to set a bar in a chart to gradient color using the following code, but something is missing.  What else do I need?

chartSeries.Type = ChartSeriesType.Bar

chartSeries.Appearance.FillStyle.MainColor = Drawing.Color.Beige

chartSeries.Appearance.FillStyle.SecondColor = Drawing.Color.Aqua

chartSeries.Appearance.FillStyle.FillType = Styles.FillType.ComplexGradient

I get the following error message...

ColorBlend object that was set is not valid.Array of colors and positions must contain at least two elements. ColorBlend objects must be constructed with the same number of positions and color values. Positions must be between 0.0 and 1.0, 1.0 indicating the last element in the array.

Missing User
 answered on 20 Apr 2011
2 answers
102 views
Hi All,

I want to show grid pager if the row count less then the page count. My customer want to know search results count every time. How can i show pager side every time.

Regards .
Ahmet HOSO
Top achievements
Rank 1
 answered on 20 Apr 2011
3 answers
83 views
Hello Telerik Team,

Need an urgent help from your side.

We have grid having textbox on it. Textbox is added to grid column. There is link button beside the textbox. On click of link button one child window will open. Child window is having grid with one column. On double click of the child window grid, child window need to close and parent window grid text box, should be reflected with selected value of child window . We are able to get the value from child window to parent and close the child window. But parent window grid textbox is not reflecting the selected value from child window. Even though value is seting on ajaxrequest, it not getting reflect in the textbox.

Thanks in advance.

Regards,
Sudhakar
sudhakar
Top achievements
Rank 1
 answered on 20 Apr 2011
1 answer
143 views

I have a 2 level heirchy in radgrid.
When I select the Second Detail Table i want to dynamically render content in the

 

 

NestedViewTemplate.

What is the best way or event Iam using ItemCommand:

 

 

<

 

 

telerik:RadGrid ID="RadGridTariffSericeLevel" runat="server" DataSourceID="ObjectDataSourceTariffLanesByServiceLevel"

 

 

 

 

 

 

 

 

 

 

EnableLinqExpressions="false" Width="950px" Skin="Vista" GridLines="Horizontal"

 

 

 

 

AllowPaging="True" AutoGenerateColumns="false" Hei

 

 

 

 

 

 

 

 

 

 

OnItemCreated="RadGridTariffSericeLevel_ItemCreated"

 

 

 

 

OnItemCommand="RadGridTariffSericeLevel_ItemCommand"

 

 

 

 

onitemdatabound="RadGridTariffSericeLevel_ItemDataBound"

 

 

 

 

ondatabound="RadGridTariffSericeLevel_DataBound"

 

 

 

 

onselectedindexchanged="RadGridTariffSericeLevel_SelectedIndexChanged"

 

 

 

 

onneeddatasource="RadGridTariffSericeLevel_NeedDataSource" >

 

 

 

 

 

 

 

 

 

 

<ClientSettings>

 

 

 

 

 

 

 

 

 

 

<Selecting AllowRowSelect="True"></Selecting>

 

 

 

 

 

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

 

 

 

 

 

<MasterTableView DataKeyNames="TariffDataID, ServiceLevelID" ShowFooter="true" DataSourceID="ObjectDataSourceTariffLanesByServiceLevel"

 

 

 

 

 

 

 

 

 

 

ItemStyle-BackColor="#eff4f8" AlternatingItemStyle-BackColor="#eff4f8" FooterStyle-ForeColor="Red" Font-Size="Large">

 

 

 

 

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="ServiceLevelID" HeaderText="Service" HeaderStyle-Width="75px" />

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="Lanes" HeaderText="Lanes" HeaderStyle-Width="75px"

 

 

 

 

 

 

 

 

 

 

Aggregate="Sum" FooterAggregateFormatString="{0:n0}" />

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="ShipmentsPerMonth" HeaderText="Pros" HeaderStyle-Width="75px"

 

 

 

 

 

 

 

 

 

 

Aggregate="Sum" FooterAggregateFormatString="{0:n0}" />

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="TotalCost" HeaderText="Total Cost" DataFormatString="{0:c2}"

 

 

 

 

 

 

 

 

 

 

Aggregate="Sum" FooterAggregateFormatString="{0:c2}" />

 

 

 

 

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

 

 

 

 

<DetailTables>

 

 

 

 

 

 

 

 

 

 

<telerik:GridTableView runat="server" Name="GridTableViewOrigin" DataSourceID="ObjectDataSourceTariffLanesByServiceLevelOrigin"

 

 

 

 

 

 

 

 

 

 

DataKeyNames="TariffDataID, ServiceLevelID, OriginServicePointID" AutoGenerateColumns="false" Width="100%" HierarchyLoadMode="ServerBind">

 

 

 

 

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="OriginServicePointID" HeaderText="Origin" HeaderStyle-Width="75px" />

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="Lanes" HeaderText="Lanes" HeaderStyle-Width="75px" />

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="ShipmentsPerMonth" HeaderText="Pros" HeaderStyle-Width="75px" />

 

 

 

 

 

 

 

 

 

 

<telerik:GridBoundColumn DataField="TotalCost" HeaderText="Total Cost" DataFormatString="{0:c2}" />

 

 

 

 

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

 

 

 

 

<ParentTableRelation>

 

 

 

 

 

 

 

 

 

 

<telerik:GridRelationFields DetailKeyField="OriginServicePointID" MasterKeyField="ServiceLevelID" />

 

 

 

 

 

 

 

 

 

 

</ParentTableRelation>

 

 

 

 

 

 

 

 

 

 

<NestedViewTemplate>

 

 

 

 

 

 

 

 

 

 

<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>

 

 

 

 

<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Clicked" CommandName="Button1" />

 

 

 

 

 

 

 

 

 

 

</NestedViewTemplate>

 

 

 

 

 

 

 

 

 

 

</telerik:GridTableView>

 

 

 

 

 

 

 

 

 

 

</DetailTables>

 

 

 

 

 

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

 

 

 

 

 

</telerik:RadGrid>

 

 

 

protected void RadGridTariffSericeLevel_ItemCommand(object source, GridCommandEventArgs e)

 

 

{

 

 

 

if (e.CommandName == "ExpandCollapse" && e.Item.OwnerTableView.Name == "GridTableViewOrigin")

 

 

{

 

 

 

GridDataItem OriginItem = (GridDataItem)e.Item;

 

 

 

 

GridNestedViewItem NestedViewItem = (GridNestedViewItem)OriginItem.ChildItem;

 

 

 

 

if (NestedViewItem != null)

 

 

{

 

 

 

PlaceHolder PlaceHolder1 = (PlaceHolder)NestedViewItem.FindControl("PlaceHolder1");

 

 

PlaceHolder1.Controls.Add(GetTable());

 

 

 

Label Label = (Label)NestedViewItem.FindControl("Label1");

 

 

}

 

}

 

}

Tsvetoslav
Telerik team
 answered on 20 Apr 2011
1 answer
50 views
I need to set the amount of pages on the grid.

Each time i change the page i will retrieve data from the database.

Suggestions please
Pavlina
Telerik team
 answered on 20 Apr 2011
4 answers
85 views

Hi,

  I am using RadTreeList and using RadToopTipManager to popup in the TreeList Data. But when i mouse over i am getting a parse error. 

RadToolTip Manager response error: Exception=Sys.Webforms.PageRequestManagerParseErrorException

Please guide me to rectify this error.

Thanks
Kannan
Kannan
Top achievements
Rank 1
 answered on 20 Apr 2011
2 answers
60 views


Hi,

I am using RadTreeList version:2010.3.1215.35, in that the paging controls is not aligned properly as attached screenshot. Please assist me to do that.

Thanks 
Kannan

 
Kannan
Top achievements
Rank 1
 answered on 20 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?