Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
311 views
Hi,

    I am using a web user control to update data for RadGrid. In the webusercontrol, I have a RadTabStrip with RadMutiPage. Inside a page I have lots of controls. When the webuserform opens up, the RadTabStrip has the scrollbars attached to the page . I want to display the webusercontrol edit form without the scrollbars.

Any idea?

Thanks,
Rita

<telerik:RadSplitter ID="RadSplitter1" runat="server" skin="Office2007" Width="500" Height="500">      
      <telerik:RadSplitBar ID="RadSplitBar1" runat="server" /> 
       
           <telerik:RadPane ID="RadPane1" runat="server"> 
                   
               <telerik:RadTabStrip ID="RadTabStrip1" runat="server"  
               MultiPageID="RadMultiPage1" AutoPostBack="true" CausesValidation="false" Width="100%"> 
                
                 <Tabs> 
                    <telerik:RadTab runat="server" Text="IDR Info" PageViewID="IDRInfoPage"> 
                    </telerik:RadTab> 
                     
                    <telerik:RadTab runat="server" Text="Requestor Info" PageViewID="RequestorInfoPage"> 
                    </telerik:RadTab> 
                     
                    <telerik:RadTab runat="server" Text="IDR Result Info" PageViewID="IDRResultInfoPage"> 
                    </telerik:RadTab> 
                 </Tabs> 
               </telerik:RadTabStrip> 
                
               <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" RenderSelectedPageOnly="false"> 
                    <telerik:RadPageView ID="IDRInfoPage" runat="server" Height="500" Width="500">

Yana
Telerik team
 answered on 05 Mar 2010
1 answer
76 views
Hi
  I have a RadGrid control in my asp.net page.  On right click of header, the header context menu shows up. But If I navigate to another page and come back to the page containing RadGrid by hitting the back button of the browser, the header context menu does not show up. This issue happens in Firefox only. In IE it works fine. Could you please let me know what might be the cause of this issue.

Thanks
Satyaprakash J
Veli
Telerik team
 answered on 05 Mar 2010
1 answer
108 views
Hi,
I have 5 Scheduler Formatting  issue here.

(1). I want to have the Scheduler Header but I do not want the date from to (as highlighted in red)display as picture in pic 1 below:

(2).When i choose to display Scheduler in Vertical and group by is "ResourceId,Date". My Resource name does not show  completely no matter how much i set the column width as in pic2.

(3.)Is  is possible for scheduler to have a specific non dragable item in the column in Scheduler.For example as in  pic 3. The item is simpy to show avail hour for the  particular shift by date.

(4).OR can i have the header be arranged as in below rather than in pic 4?
-----------------------------------
Line :XX                  |     Line :XX            
Shift ABC                |     Shift ABC
Avail Hr: 0.9345      |     Avail Hr: 0.9345
------------------------------------

(5) Can the column header set in different color?  For example as in pic 1 the column with title "AAAQQWRRWERWRWER 0" is set to color yellow.

Hi, i find no sample on this.Do you have any idea on this?


johnson lim
Top achievements
Rank 1
 answered on 05 Mar 2010
1 answer
166 views
When I use RadDateTimePicker,the CompareValidator don't work.
But if I choose RadDatePicker instead of RadDateTimePicker, it works.
Could anyone can give me some suggestions?
How to compare RadDateTimePicker?

Thanks,God Bless YOU!
liu qingshui
Top achievements
Rank 1
 answered on 05 Mar 2010
3 answers
234 views
Hi,

since the documentation is a bit poor and I'm not willing to play around I simply ask it here.

How does RadBinaryImage resize images?
Does it use a "best fit" algorithm or does it simply "cut" the longer side?

What I mean with "best fit" is that an image is sized in a manner that it is as large as possible without loosing it's aspect ratio.
Example:
Max. Size 200, 200
Given Image: 300, 180 -- scaled to 200, 120
Given Image: 300, 400 - scaled to 150, 200
....

Regards
Manfred
Rosen
Telerik team
 answered on 05 Mar 2010
6 answers
455 views
I've looked everywhere I can think of and haven't found anything so if this has already been covered I apologize.

In the OnItemDataBound event of a listbox I've added a few attributes to each of the items.
protected void AgendaItems_ItemDataBound(object sender, RadListBoxItemEventArgs e) 
{ 
     DataRowView dataSourceRow = (DataRowView)e.Item.DataItem; 
     e.Item.Attributes.Add("Time", dataSourceRow["Expected_Time"].ToString()); 
}

what Im trying to do is access those attributes in the client side javascript events.  Is this possible?

my current attempt is
function AgendaItems_OnClientSelectedIndexChanged(sender,args){ 
    alert(sender.get_selectedItem().get_attributes().getAttribute("Time")); 
} 
... obviously this isn't working?  Can somebody point me in the right direction?
Genady Sergeev
Telerik team
 answered on 05 Mar 2010
2 answers
247 views
Hi,

In an ASP.Net page, I am using a large amount of JS functions inside a RadScriptBlock element, to manipulate toolbar, tabstrip, panelbar ... on the client-side.
To easily maintain that, is there a way to load external javacript files containing these functions ?
I tried to used a <script type="text/javascript" src="script/myfunc.js"> inside the RadScriptBlock element, but that did not work : I got an error because JS methods are not found by server controls when executing ...

Cedric
Top achievements
Rank 1
 answered on 05 Mar 2010
3 answers
86 views
I want to use de column of type "DownloadAttachment" and I create the folow code in de aspx file. But when I associate this code in de "OnCommand" (client) of radgrid my code in RadGrid1_ItemDataBound breaks.

            function gridCommand(sender, args) {
                if (args.get_commandName() == "DownloadAttachment") {
                    var manager = $find('<%= RadAjaxManager.GetCurrent(Page).ClientID %>');
                    manager.set_enableAJAX(false);

                    setTimeout(function() {
                        manager.set_enableAJAX(true);
                    }, 0);
                }
            }              

        protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if ((e.Item.ItemType == Telerik.Web.UI.GridItemType.Item) || (e.Item.ItemType == Telerik.Web.UI.GridItemType.AlternatingItem))
            {
                PackCRM.Entities.Documento _doc = (PackCRM.Entities.Documento)e.Item.DataItem;

                if (_doc.DocumentoLido)
                    e.Item.Font.Bold = false;
                else e.Item.Font.Bold = true;


                string docID = _doc.ID.ToString();
                string param = "docid=" + _doc.ID.ToString() + "&ext=" + _doc.Tipo.ToLower().Trim();
                string url = "preview/checkfile.aspx?" + param;

                ImageButton btnView = (ImageButton)e.Item.FindControl("btnView");
                btnView.OnClientClick = String.Format("OpenDialog('" + url + "')");
            }
        }

Why its ocurrs?
Help?
Tsvetoslav
Telerik team
 answered on 05 Mar 2010
1 answer
95 views
This has me stumped.  This is so easy to do with the defacto microsoft data grid control:


But I can't figure out how to do the same thing with Radgrid.  This has got to be so simple....


Shinu
Top achievements
Rank 2
 answered on 05 Mar 2010
4 answers
133 views
HI,
     I have a problem in hiding the column. The column width is not ajudged properly. I used the Fixed table width and also uses following resizing properties.
  <ClientSettings AllowColumnHide="True" AllowRowHide="True" AllowColumnsReorder="True"    
                    ReorderColumnsOnClient="True">     
                    <Resizing EnableRealTimeResize="True" ResizeGridOnColumnResize="True" AllowColumnResize="true"    
                        ClipCellContentOnResize="false"></Resizing>    
                </ClientSettings> 

Example: I have three columns, after hidng the first column from the grid the second column width and text is wrapped ir shrinked. The long line wrapped by two line with the dot marks at the end.Other columns is seemed ok. So i am not getting the exact width after hiding.

-Thanks

John John
Top achievements
Rank 1
 answered on 05 Mar 2010
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?