Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
380 views
I am trying to open the Pop Up window Asynchronously. Due to lengthy Database operation. I am waiting to open the Pop up for approximately 35 seconds...The Problem gets worst when the internet speed is very slow. In that case a lot of time. I am using the below mentioned code...

<telerik:RadWindowManager
        ID
="RadWindowManager1"
        ShowContentDuringLoad
="false"
                VisibleStatusbar="false"
       
runat="server"
        VisibleOnPageLoad="false"
        Width="894px"
        Modal="true"
        Behaviors="None"
       
EnableEmbeddedSkins="false"
        EnableShadow="true"
        OnClientClose="OnClientClose"
       
ReloadOnShow="false">
     <Windows>
          <telerik:RadWindow ID="radPopup" runat="server" KeepInScreenBounds="true" EnableShadow="true" />
     </Windows>
</telerik:RadWindowManager>

My Query is, What should I do to open the Pop Up first and in the Background the Database Operation is being executed...and during this operation the user may be informed about the busy operation...
Princy
Top achievements
Rank 2
 answered on 17 Oct 2012
3 answers
427 views
Hello, 

Quite accidentally, I've found an interesting behavior with the RadGrid's GridTemplateColumn:

<telerik:RadGrid runat="server" ID="radgrid" AutoGenerateColumns="false" OnNeedDataSource="radgrid_NeedDataSource">
    <MasterTableView>
        <Columns>
            <telerik:GridTemplateColumn DataField="Text" HeaderText="foo">
                <ItemTemplate>
                    <%# Eval("Text") %>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn DataField="Text" HeaderText="bar" Visible="false" />
            <telerik:GridEditCommandColumn HeaderText="Edit" />
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

In normal mode, the GridTemplateColumn will be visible, but when in edit mode, it's the GridBoundColumn that's visible. You can tell by the HeaderText that's displayed in the edit form.

Out of curiosity, is this an intended behavior?
Shinu
Top achievements
Rank 2
 answered on 17 Oct 2012
0 answers
155 views
 
 

my scheduler control need to display 30 days of data. please refer to  attach: pagejpg.
but  pdf  file information is display not complate.  please refer to  attach: pdf.jpg.

Who can help me solve the problem?  thanks!!!
123
Top achievements
Rank 1
 asked on 17 Oct 2012
1 answer
132 views
Is it possible to export to Excel without the file opening as Read Only?  I have looked at every option and example and simply do not see the option/parameter to make this happen.
Kyle
Top achievements
Rank 1
 answered on 16 Oct 2012
3 answers
169 views
Hello Telerik Community:

I have the following issue, using the following code I get the results shown in the attached image.

Is there anyway to autostep or show only the dates that have some value on them?

Thanks in advance!


//OADate column for chart:
 
 DataColumn col = new DataColumn("OADate", typeof(System.Double));
 dtable.Columns.Add(col);
 
//Converting SQL Datetime values to OADate column
 
 int b = 0;
 foreach (DataRow row in dtMerArrCru.Rows)
 {
     row["OADate"] = Convert.ToDateTime(dtable.Rows[b][1]).ToOADate();
     b++;
 }
 
//Formatting chart:
 
 RadChart1.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;
 RadChart1.PlotArea.XAxis.Appearance.CustomFormat = "MM/dd/yyyy";
 RadChart1.PlotArea.XAxis.IsZeroBased = false;
 RadChart1.PlotArea.XAxis.AutoScale = false;
 
 RadChart1.PlotArea.XAxis.AddRange(Convert.ToDouble(dtMerArrCru.Rows[0]["OADate"]),     Convert.ToDouble(dtMerArrCru.Rows[dtMerArrCru.Rows.Count - 1]["OADate"]), 1);
 
 RadChart1.DataGroupColumn = "Type";
 RadChart1.DataManager.ValuesXColumn = "OADate";
 RadChart1.DataManager.ValuesYColumns = new string[] { "Quantity" };
 RadChart1.DataSource = dtable;
 RadChart1.DataBind();
Petar Kirov
Telerik team
 answered on 16 Oct 2012
3 answers
110 views
I'm using the ItemTemplate. In the template I have one user control which consists of a button and another control. The button controls the visibility of the other control. Not every instance of this user control is the same size. When the controls are initially hidden, clicking the buttons will reveal their respective controls as desired. However, when any of the controls are not initially hidden, the list view sizes all it's items to the potentially largest control whether or not that control is hidden. Any ideas why this would be occuring and how I can work around it? Thanks.
Matthew
Top achievements
Rank 1
 answered on 16 Oct 2012
6 answers
377 views
I am using the RadCombobox with design time datasource setting because I need to use the Itemperrequest property. I know itemperrequest and showmoreresult property don't work if you have dynamic datasource setting. Because of designtime datasource setup, I don't know how to set the default value to the combo using valuefield. 

Help me here.
Vijaianand
Top achievements
Rank 1
 answered on 16 Oct 2012
1 answer
91 views
Hi,

I am working on asp.net dynamicdata application.
In my application I am using DynamicRadGrid , and I want to export and import to latest version excel file(2007 format).

without modification the exported file is import to grid . but after modification of that file i am not able to do import operation.

and i found in some forums for latest version Excel Format=ExcelML but   it is also not working.

Please send me sample code with this fuctionality.




Kostadin
Telerik team
 answered on 16 Oct 2012
1 answer
87 views
Hi.

I am currently facing a problem with the export functionality of the RadGrid.
In my code i am automatically generating templatecolumns with controls inside (RadTextBox, RadCheckBox, RadComboBox and so on)

On my commanditemtemplate i have 4 buttons to export to PDF, XLS, DOC, CSV.
Everything works as expected in XLS (Format = ExcelML) but it fails on the other.

Problems i am facing are:
1.) PDF, DOC, CSV display a client selection column
2.) PDF, DOC, CSV dont display values from RadTextBox and RadNumericTextBox controls
3.) CSV doesnt display values from RadCheckBox controls

When i change my code to generate ASP TextBoxes (one line of code nothing more changed)...
1.) CSV still doesnt display values but PDF, DOC does
2.) PDF overlaps with client selection box (because width of column is 10 and the word "FALSE" is lager so it overlaps with following column), DOC looks fine


And a question how is it possible to export a grid in any given width to PDF?
XLS, DOC, CSV dont give a **** about the width of the grid but PDF seems to care and the grid overflows on the pagewidth end, and maybe on the pageheight aswell just dont have enough data to get 2 A4s right now

Hope you can help like to be able to export those 4 formats and have the same data result, styling can and will vary by format but atleast the data should be the same.

Btw, the grid on the page works fine - everything is displayed a expected.
Kostadin
Telerik team
 answered on 16 Oct 2012
3 answers
368 views
I have a templatecolumn with TextBox in the grid:
<telerik:GridTemplateColumn DataField="Translation2"   AutoPostBackOnFilter="true" ShowFilterIcon="false" UniqueName="ForeignTranslation" AllowFiltering="true" FilterControlWidth="200px" 
         HeaderText="Translation2">
             <ItemTemplate>
         <asp:TextBox ID="txtTranslationText"  AutoPostBack="true" runat="server" Height="44px" OnTextChanged="txtTranslationText_TextChanged" TextMode="MultiLine"  ></asp:TextBox>
               </ItemTemplate>
           <HeaderStyle Width="200px" />
</telerik:GridTemplateColumn>


OnTextChanged I saves the data, as long as the user types "< with any characters >", it will errored out :
"sys.winforms.PagesRequestManagerServerErrorException: an unknown error ocurred....". Please help how to avoid the error.
Kostadin
Telerik team
 answered on 16 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?