Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 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
100 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.0K+ 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
46 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
233 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
132 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
5 answers
325 views
Hi,

I have one page with the window component.
<telerik:RadWindowManager ID="RadWindowManager2" runat="server" EnableShadow="true">
        <Windows>
            <telerik:RadWindow ID="RadWindow1" runat="server" AutoSize="true" VisibleStatusbar="false"
                Modal="true">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

I display that with this function.

function openRadWin() {
                radopen("criteria.aspx", "RadWindow1");
            }

The window opened, and works fine, but the size not change. If I write width= "600px" or heigth="800px" the window size is the same and propertie modal = true doesn't work. I don't know what happened.

I see this example  http://demos.telerik.com/aspnet-ajax/window/examples/contenttemplatevsnavigateurl/defaultvb.aspx but not work for me.


Please help me!!
Princy
Top achievements
Rank 2
 answered on 09 Apr 2014
1 answer
53 views
Hi everyone!

Can you suggest me an example of a sharepoint webpart used to load a file (for example an excel file, whose content will be copied into a datatable); if possible, a solution that provides that when I click on a text box, the browsing window for file's research is automatically opened  and when file is selected by user, the text box is filled with the path of that file.

Thanks in advance.

Gionata.
Vessy
Telerik team
 answered on 09 Apr 2014
4 answers
335 views
Folks using UI for ASP.NET AJAX Q1 2014 with VS 2012.

I am using below link as Prototype (The Top Grid).

http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/filter-templates/defaultcs.aspx

I would like to Filter the RadGrid Based on Null Value of the City Combobox as Well as All or Selected Value. I modified the Screen (See attached).

Below is my new Datasource for that ComboBox (i.e RadComboBoxCity) that already has some Null City Values.

<asp:SqlDataSource ID="SqlDataSource3"
        ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT DISTINCT City  FROM CustCity"
        runat="server"></asp:SqlDataSource>

Also there are Some Null City Values in Customer Table.

<asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT CustomerID, ContactName, ContactTitle, City, Country, Bool FROM Customers"
        runat="server"></asp:SqlDataSource>

Any Help is appreciated. Thanks

gc_0620
Princy
Top achievements
Rank 2
 answered on 09 Apr 2014
1 answer
108 views
Hi,
Is it possible to synchronize grid with a google map using the same data?
When I filtering on grid I need to refresh the map with the filtered data.

Thanks



Angel Petrov
Telerik team
 answered on 09 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?