Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
162 views
Hello,

I have been using Telerik in Visual Studio Enterprise 2010 for over 2 years and just last week, just after the latest Windows patch, the Intellisense broke.  It only recognizes .Net framework objects and tags now.  I have Telerik defined in both Web.Config and the pages themselves but it just won't work.

Please help. 

Thank you.
Misho
Telerik team
 answered on 09 Apr 2014
5 answers
132 views
Hi all

After upgrading to the latest release I get the error "Telerik.Web.UI.RadAjaxLoadingPanel with ID='LoadingPanel1' was unable to find an embedded skin with the name 'Transparent'."

Was this skin eliminated from the release package?  If so, what options do I have since I am depend heavily on this skin all over the system. 

Thanks
Rumen
Telerik team
 answered on 09 Apr 2014
1 answer
151 views
I can see from the many threads suggesting to use PDFForge as a means of exporting the OrgChart to PDF, but is there any plans for incorporating that into a future version?  I ask because our requirements are to generate a PDF file programmatically (in bulk) from the generated org chart.
Peter Filipov
Telerik team
 answered on 09 Apr 2014
3 answers
209 views
Hello,

I am using the "Teleric C# Web Application" template for my project, and I am defining the skin in the web.config.

For 98% of my application, the theme arrangements of the skin are suitable.  I need to display a grid of normalized data of two related entities and the requirement is that the columns that represent the respective entities are different colors.  I need to set these values in two places ... on the web page and in the excel export.  I have some code samples below.

What I need is to be able to find some reference to a skin element (like the row color/alternate row color) and set these properties to the respective html color of that element to avoid the hard-coded values and not disconnect visual elements from the theme.

Thanks.

The grid cell background:

BasicGrid.Columns[0].ItemStyle.BackColor = System.Drawing.ColorTranslator.FromHtml("#ffffcc");


The excel table cells were more difficult to get to, but I this works for me:

protected void BasicGrid_ExcelExportCellFormatting(object sender, ExcelExportCellFormattingEventArgs e)
{
    if (e.Cell.UniqueID.Contains("ctl"))
    {
        TableCell cell = e.Cell as TableCell;
        int columnId = -1;
        String uniqueid = e.Cell.UniqueID.Split('$').Last();
        if (Int32.TryParse(uniqueid.Replace("ctl", ""), out columnId))
        {
            if (columnId <= this._midPoint + 1)
            {
                cell.Style["text-align"] = "left";
                cell.Style["background-color"] =  "#ffffcc";
                     //Needs to be the row color of the applied theme
            }
            else
            {
                cell.Style["text-align"] = "right";
                cell.Style["background-color"] = "#ccffcc";
                    //Needs to be the row alternate color of the applied theme
            }
        }
    }
}

Eyup
Telerik team
 answered on 09 Apr 2014
1 answer
127 views
We just ran into a problem with radwindows that we did not anticipate.  What happens is we design our programs for 22in wide screen monitors, but sometime personnel use thier labtop screen instead when not in office so what happens is the the radwindows pop up but are bigger then the screen they are on and they cannot get at the close buttons or some of the functionality of the window, beucase is was designed for a larger screen then they are working on.  How can we change this with regrad to Radwindow size so that an autoflow will come on if screen size is differrent then the default.



<telerik:RadWindowManager ID="rwManager" runat="server" Skin="Web20" Behaviors="Close" CssClass="rwWindowContent" style="z-index:30000" ShowContentDuringLoad="false" ReloadOnShow="true" VisibleStatusbar="false">
               <Windows>
                   <telerik:RadWindow ID="rwdelete" runat="server" NavigateUrl="~/MAC/Delete.aspx" Width="600px" Height="300px" OnClientClose="RefreshParentPage"></telerik:RadWindow>
                   <telerik:RadWindow ID="rwChange" runat="server" NavigateUrl="~/MAC/Change.aspx" Width="700px" Height="680px" OnClientClose="RefreshParentPage"></telerik:RadWindow>
                   <telerik:RadWindow ID="rwNew" runat="server" NavigateUrl="~/MAC/NewUser.aspx" Width="700px" Height="800px" OnClientClose="RefreshParentPage"></telerik:RadWindow>
                   <telerik:RadWindow ID="rwInfo" runat="server" Modal="true" NavigateUrl="Info.aspx" Width="1000px" Height="800px" OnClientClose="closeWindow"></telerik:RadWindow>
               </Windows>
           </telerik:RadWindowManager>
Shinu
Top achievements
Rank 2
 answered on 09 Apr 2014
1 answer
138 views
Hi,
I have DatePicker in my app.
When i fill the control with value "00.00.00" the control change automativ the value to "12/31/1998"
Telerik Demo

Best regards
moti
Vasil
Telerik team
 answered on 09 Apr 2014
1 answer
1.1K+ views
Hello,

I would like to use this control for a front page iamge gallery that would take the whole width of the screen. In other words, I would like to know how to stretch the image that may be smaller to truly take the full screen like here:

https://www.ndhsb.org/


Thank you!
Tom
Venelin
Telerik team
 answered on 09 Apr 2014
3 answers
102 views
Hello,

we recently updated from Q3/2013 to Q1/2014 and encountered a problem in the RibbonBar which only occurs if we use a port which is not 80 or 443.

This is what leads to this error:
- We use IIS Express with port 1028 and Chrome
- The RibbonBar contains several groups with icons, all large by default (but we also provide an 16x16 image url in case the window is too small for large icons)
- The problem occurs after a postback, not on initial page load.
- The error occurs for the first icon in every group in the active tab (e.g. 5 groups = five images).
- But all icons (even if the RibbonBar uses the 16x16 icons) are displayed correctly

The browser tries to load the 16x16 image with an url without port which leads to a 404 error. But the browser does this only for the first icon in every group in the visible tab. It seems the RibbonBar tries to compute something and uses the wrong url.

Here is an example for one icon (informations from Chrome network tab).
The complete url of the first call:
http://wks-0005:1028/speedUp/include/Standard/img/Commands/CommandBar/Button_16x16_Cut.png
Of the second call (note the missing port):
http://wks-0005/speedUp/include/Standard/img/Commands/CommandBar/Button_16x16_Cut.png



The javascript callstack of the first call:


The javascript callstack of the 404 call:


It seems something changed between Q3/2013 and Q1/2014. If I revert to Q3/2013 the problem is gone.

Regards,
JP
JP
Top achievements
Rank 1
 answered on 09 Apr 2014
3 answers
278 views
I don't want RadGrid "NeedsDataSource" handler to re-query the database every time the event fires, but I do want it to act on its datasource as it is designed to do. I handle database queries in my "Search" button handler where I get a DataTable and the set RadGid's datasource equal to my datatable. Also, to persist my DataTable, I set a Session variable equal to my DataTable. Then, in RadGrid's "NeedDataSource" I set RadGrid's DataSource equal to my Session variable like the following:

   protected void BindDataTable( DataTable dt)
   {
      RadGrid1.DataSource = dt;
      RadGrid1.DataBind();
      RadGrid1.CurrentPageIndex = 1;
     Session["RADGRIDSOURCE"] = dt;
   }

   protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
       RadGrid1.DataSource = Session["RADGRIDSOURCE"];
    }


I am questioning weather this is the best approach or not. Is there a better way?



Konstantin Dikov
Telerik team
 answered on 09 Apr 2014
5 answers
168 views
Hi, I am using the radeditor to allow users to create their own templates for responding to radiology studies.  I allow the user to create templates by putting the control in design mode.  Only textboxes and textareas are allowed in the template.  I allow the user to fill in the form fields on the template by putting the control in preview mode.  This all works very well except for one problem.  I am having a problem with the textarea form element.  I am unable to type into the textarea form element in preview mode in IE only (tried version 7 and 8) - it works fine in Firefox and Safari.  When I click in the textarea, I get a blinking cursor - but when the first key is hit, the textarea loses focus and the keystroke is not recorded.  Is this a known bug?  I have version 209.2.826.20. 

Thanks,

Ronnie Robertson
Ianko
Telerik team
 answered on 09 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?