Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
292 views
Hi all.

I have radGrid to which I have to generate all columns dynamically. I'd like to have combobox filtering for some columns (e.g. enums).
I've spent a lot of hours on searching through google/this forum, on trying demos, examples, whatever. Unfortunatelly I was not successful. When I am able to create column with combobox in filteringitem I have error:

"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. ...."

radGrid building is placed into Page_load.

When I have normal textbox filter on that column everything is ok. 
Jan
Top achievements
Rank 1
 answered on 24 Apr 2013
4 answers
92 views
hi,

My page has two buttons (search and print) and a grid.

Initial view is attached. (expect.PNG) . a blue line for show grid.

When clicking search button, I bind data to grid and it works well.

Print button for load popup to show a report. When I clicked print button I am getting 'what getting.PNG' like this. Grid header is loading (which I am not expecting). 

My problem is I don't want to show that when clicking print button. I am quite sure that I am not binding anything to grid. I tried with set enable false to print button and thats not worked. 

Here I am using Microsoft.Practices for paging (ObjectContainerDataSource) and wcsf. I am not ajaxfying to print button. 

Please guide me to resolve this and I glad that if you can explain this.

regards
chap

sample code for grid I am using

<telerik:RadGrid ID="gridFV" AllowSorting="True" runat="server" Skin="Vista" PagerStyle-Mode="NextPrevAndNumeric"
                        Width="98%" AutoGenerateColumns="False" GroupingSettings-CaseSensitive="false"
                        GridLines="None" ShowStatusBar="True" OnInit="gridFV_Init" AllowPaging="true"
                        OnNeedDataSource="gridFV_NeedDataSource">

Chap
Top achievements
Rank 1
 answered on 24 Apr 2013
2 answers
110 views
Hi All,

I have a RadGrid on a page which also has a user control, on this user control is an HTML link (among other things).  There are links in the RadGrid which updates the user control. All works well. 

If I right click the html link in the user control and choose the "Open Link in New Tab" option, a new tab opens, the focus remains on the original tab.  When I click on a link in the RadGrid, on the original tab, to refresh the user control - nothing!  In that the click event fires but I now get no response from the server.

If I go to the new tab and click a grid element here, it works on that tab.  Returning to the original tab, it all works again.  It's as if state has been transferred to the new tab?

Has anyone come across any issue like this before?

Thanks,
Eddie.
Angel Petrov
Telerik team
 answered on 24 Apr 2013
0 answers
117 views
Dear,

In RadGrid i have GridHyperLinkColumn with URI File path (\\server\media\file.wav) for downloading its working fine in IE but in Google Chrome is not clickable.

Do you have any solution for that issue, please?
Mohamed Salah Al-Din
Top achievements
Rank 1
 asked on 24 Apr 2013
1 answer
87 views
Hi,

I have been searching info of my problem in Google but I havent found anything...

I have a radtreeview and each node have an icon in the left. When I click in the text of the node some data is loaded in another gridview and then that node is selected.  But when I do click in the left icon the node is selected and the gridview doesnt load or change data.

What i want is that when i click in the icon the grid didnt change (that it is ok) but that the node of this icon wasnt selected. I want that the node was selected only when i click in the text of the node, and not in the icon.

Where can i do change that? when i do mouse over the image the cursor doesnt change to pointer, so it isnt a link...

<div class="rtMid">
         <span class="rtSp"></span>
         <img src="https://127.0.0.1/50/App_Themes/s/arbol.gif" class="rtImg">
         <a class="rtIn" href="javascript:__doPostBack('ctl00$MCPH$hd_gr', 27);">Grupo 20</a>
</div>

thanks,
Erynshore
Top achievements
Rank 1
 answered on 24 Apr 2013
0 answers
196 views
嗨,有疑难问题想下拉框不显示,我能做些什么呢?  
Lion
Top achievements
Rank 1
 asked on 24 Apr 2013
5 answers
277 views
Hello,

I am currently using Radcombobox in my project now at selected index changed i am displaying Two text boxes and RadGrid so the problem is when i Select any company from combobox than Textboxes and radgrid dispalying after some seconds so at that time i want to show an any loading image or any Waiting Text so please tell me how can i do this asap. I m attaching some sceren shot

1) screenhot radcombox1 intially open
2) screenhot radcombox2 when i will select any company from my list
3) screenhot radcombox3 after selecting textbox and rad grid will display

i hope you understand my problem.

thanx in advance
Nencho
Telerik team
 answered on 24 Apr 2013
1 answer
126 views
Hi Team,

I am developing the line chart by using RadChart in asp.net with C#(visual studio 2010), data is binding dynamically from the DB, I have the following issues,
1)  Need to display the MarkersAppearance for each point.
2) I need to draw the line at current month, to differentiate the past and future months.
3) Need to display the chart title in center, with background color to the entire area.
for reference please see the attachment.

I already refer the following links, but unable to fix above issues.
a) http://www.telerik.com/help/aspnet-ajax/htmlchart-types-line-chart.html
b) http://www.telerik.com/help/aspnet-ajax/chart-building-programmatic-create-complex.html



Thanks in advance.
Evgenia
Telerik team
 answered on 24 Apr 2013
1 answer
91 views
I'm having problems zooming out my RadChart. I have a telerik:RadButton that calls a script to zoomOut on the RadChart but it seems that the zoom out is overwritten by an Ajax refresh that sets the chart back to where it was. 

I've read that RadScriptBlock runs after Ajax refresh but this does not seem to resolve the issue.

Looking at this thread http://www.telerik.com/community/forums/aspnet-ajax/chart/zoomout-method-not-working.aspx#742256
I can see the answer here was the use of an asp:Button and, yes this solution works. But the same solution does
not seem to work when the button that calls the script is a <telerik:RadButton>

            <div id="div3">
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">

                <telerik:RadButton ID="RadButton1" runat="server" text="Zoom Out" onclientclicked="ZoomOutChart1" >
                </telerik:RadButton>

                
                    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                        <script type="text/javascript">
                            function ZoomOutChart1() {
                                //scale XAxis by factor 3 
                                var chart = $find("<%=RadChart1.ClientID%>");
                                if (chart != null)
                                    chart.zoomOut();
                            }
                        </script>
                    </telerik:RadScriptBlock>

                <telerik:RadChart ID="RadChart1" runat="server" DefaultType="Line" 
                     Height="500px" Width="500px" Skin="BabyBlue"> <%-- --%>
                    <Appearance>
                        <FillStyle MainColor="239, 255, 254">
                        </FillStyle>
                        <Border Color="188, 229, 231" Width="8" />
                    </Appearance>
                    <Series>
                        <telerik:ChartSeries Name="Series 1" Type="Line">
                            <Appearance>
                                <FillStyle MainColor="194, 230, 252" FillType="Solid">
                                </FillStyle>
                                <TextAppearance TextProperties-Color="78, 168, 188">
                                </TextAppearance>
                                <Border Color="177, 215, 250" />
                            </Appearance>
                        </telerik:ChartSeries>
                    </Series>
                    <ClientSettings EnableZoom="true" ScrollMode="XOnly" XScale="4" /><%-- --%>
                </telerik:RadChart>
               </telerik:RadAjaxPanel>
            </div>

If I comment out the RadAjaxPanel then zoom out works fine
If I replace the telerik:RadButton with an asp:Button it also works fine

my server side code is as follows:

  protected void Page_Load(object sender, EventArgs e)
    {

        if (!IsPostBack)
        {
            int[] intArray = new int[100];
            Random random = new Random();

            int currentValue = 50;
            for (int pos = 0; pos < 100; pos++)
            {
                currentValue += random.Next(-5, 5);
                intArray[pos] = currentValue;
            }

            RadChart1.DataSource = intArray;
            RadChart1.DataBind();
            RadChart1.ClientSettings.EnableAxisMarkers = false;
            RadChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible = false;
            RadChart1.PlotArea.XAxis.Appearance.MinorGridLines.Visible = false;

            RadChart1.PlotArea.XAxis.Appearance.MinorGridLines.Visible = false;
            RadChart1.PlotArea.YAxis.Appearance.MinorGridLines.Visible = false;
        }
Maria Ilieva
Telerik team
 answered on 24 Apr 2013
2 answers
784 views
Hi all if I enter the text as 012 this is displaying the result as 12, but I would like to have my value as per I entered. What should I do.

This is my design

<telerik:RadNumericTextBox ID="txtbankRoutingNumber" NumberFormat-GroupSeparator=""
             Width="200px" runat="server" Type="Number" MaxLength="9"
            IncrementSettings-InterceptMouseWheel="false" IncrementSettings-InterceptArrowKeys="false">
            <NumberFormat DecimalDigits="0" />
        </telerik:RadNumericTextBox>
Reshma
Top achievements
Rank 1
 answered on 24 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?