Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Hi,

This is my datepicer. When i click icon i cant see calendar popup. Why that
<telerik:RadDatePicker ID="RadDatePicker2" runat="server">
        </telerik:RadDatePicker>




Dimo
Telerik team
 answered on 22 Dec 2009
1 answer
87 views
Hello,
        I m not able to use either grid control or llist view control. In grid control I was trying to use xml data source with a simple xml file,

<?xml version ="1.0" encoding ="utf-8"?>
<columns>
<column>Test1</column>
<column>Test2</column>
<column>Test3</column>
</columns>

It crashed as shown in the attachment. Can someone give an example code or url for using either listview or grid control using xml file.

Thanks,
Bharani
Princy
Top achievements
Rank 2
 answered on 22 Dec 2009
1 answer
207 views
How do you set the height and width properties for the Radwindow at design time so that we can have a popup window of desired height and width.

Thanks
Shinu
Top achievements
Rank 2
 answered on 22 Dec 2009
4 answers
378 views

Just having an issue using the radalert popup functionality...

I'm using the approach from one of the help items like this:

Label1.Text = "<script language='javascript'> window.onload = function(){radalert('<b>Please enter quantity!</b>','', 150, 100);}</script>";

Having RadWindowManager control on the page so that should not be a problem.

However, it gives out an error on this line:
return d.radalert(e,c,a,b);
Microsoft JScript runtime error: 'undefined' is null or not an object

And then:
Microsoft JScript runtime error: Object doesn't support this property or method

Which doesn't seem to make sense, I thought that that was the parameters it was expecting!

Joe
Top achievements
Rank 1
 answered on 22 Dec 2009
3 answers
262 views
We are trying to figure out how to properly extend a dynamically created radDock to basically include a footer. Currently we have tried creating a new class file and inheriting fromTelerik.Web.UI.RadDock. We are able to add an icon for the usercontrol and it works, a bit kludgy but w/e. How would we start to go about this? This is the code we are using currently to extend RadDock.
[assembly: TagPrefix("NCS_Black.CustomControls.NCSBlackRadDock", "c1")]  
namespace NCS_Black.CustomControls.NCSBlackRadDock  
{  
    [ToolboxData("<{0}:NCSBlackRadDock ID='NCSBlackRadDock1' runat=\"server\"> </{0}:NCSBlackRadDock>")]  
    public class NCSBlackRadDock: Telerik.Web.UI.RadDock  
    {  
        protected override void OnLoad(EventArgs e)  
        {  
 
        }  
 
        protected override void OnInit(EventArgs e)  
        {  
            base.OnInit(e);  
 
            // INCLUDE A WIDGET SPECIFIC ICON (IF AVAILABLE)  
            Image icon = new Image();  
            icon.ImageUrl = "~/Prototype/Modules/HttpWebRequest/Images/Config.png";  
            icon.CssClass = "imgFloatLT Middle";  
            this.TitlebarContainer.Controls.Add(icon);  
 
 
            // INCLUDE WIDGET SETTINGS CONTROL IN TITLEBAR (IF AVAILABLE)  
            DockCommand _Edit = new DockCommand();  
            _settings.Name = "Widget_Settings";  
            _settings.Text = "Edit";  
            this.Commands.Add(_settings);  
 
 
            // INCLUDE REFRESH TIMESTAMP  
            Panel _timePanel = new Panel();  
            _timePanel.CssClass = "WidgetTimestamp";  
 
            Label _timeStamp = new Label();  
            _timeStamp.Text = DateTime.Now.ToShortTimeString();  
            _timePanel.Controls.Add(_timeStamp);  
            this.ContentContainer.Controls.Add(_timePanel);  
        }  
    }  
} 
Gido Geek
Top achievements
Rank 2
 answered on 21 Dec 2009
1 answer
183 views
Dear Telerik folks,
I'm implementing vertical tabs that are scrollable when they go off the page. Works great! One feature I'd like to add is the ability to scroll up and down with the mouse wheel. This would seem to be a pretty common behavior but these tabs don't do it.

I'm leaning towards adding a mousewheel event to the div that contains the tabstrip and firing the radtabstrip.radtab.Scrollintoview() based on the first and last tabs. This isn't a very smooth behavior but its all I see as possible with the latest build.
Any ideas?
Thanks.
T. Tsonev
Telerik team
 answered on 21 Dec 2009
2 answers
256 views
I am trying to configure a pair of listboxes to allow transfer. The user interface side works, but no changes are written to the database. Here's the scenario;

Three tables, Communications, Contacts, and CommunicationContacts. Each communication has zero or more contacts associated with it, defined as rows in the CommunicationContacts table. The CommunicationContacts table has three fields; primary key, CommunicationID and ContactID, with appropriate relational integrity. What I want to do is show two listboxes; one containing the names of the people who are selected (from the Contacts table, via a lookup), and a list of names of people who aren't selected. I have the logic of the queries, but what i want is when I add a name from the UNSELECTED to the SELECTED list, I want a row to be added to the CommunicationContacts table. Likewise when I remove a name from teh selected list, I want that row to be removed from the CommunicationContacts table.

I have the page set up and working using object data sources, with update and delete actions defined, the transfers are appearing properly, but no db changes are recorded.

Can anyone provide me with an example of a working page where two related listboxes are used and the changes are saved?

Thanks in advance.
Genady Sergeev
Telerik team
 answered on 21 Dec 2009
4 answers
322 views
Is there a way to get the old value out of the ListBox on SelectedIndexChanging event?  I'm converting a ComboBox over to a ListBox and I was previously doing something very similar to this: http://www.telerik.com/help/aspnet-ajax/combo_clientsideonclientselectedindexchanging.html.  But now my sender.get_selectedItem() returns null.  On inspection, sender._selectedValue seems to hold the previous selected value.  I can easily keep track of my previously selected item on my own, but if there's a cleaner way to do it (like before), I'm all ears.

Thanks,
Jared
Genady Sergeev
Telerik team
 answered on 21 Dec 2009
1 answer
75 views
I'm having an issue where my RadMenu is behind my Silverlight object.  I cannot seem to find the Windowless mode property that seems to make the issue not happen -- here is my code:

<body> 
    <form id="form1" runat="server" style="height:100%">  
    <div id="silverlightControlHost">  
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">  
          <param name="source" value="ClientBin/BioDMap.xap"/>  
          <param name="onError" value="onSilverlightError" /> 
          <param name="background" value="white" /> 
          <param name="minRuntimeVersion" value="3.0.40624.0" /> 
          <param name="autoUpgrade" value="true" /> 
          <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">  
              <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>  
          </a> 
        </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>  
    </form> 
</body> 

Any idea?  I've got this code running inside of a frame but all other controls are fine except for this Silverlight object.

Thanks in advance,
T. Tsonev
Telerik team
 answered on 21 Dec 2009
10 answers
170 views
Hi

I want to have the full 24 hours available to scroll in, but on opening the control I'd like to only show a particular time span, say 0700 to 1700, which covers the normal part of the day.

Looking at the available settings I'd have thought that DayView-DayStartTime / DayView-DayEndTime  would do it, but it doesn't, more to the point if you search the help for this there isn't any.

How can I do this.

Andy
Peter
Telerik team
 answered on 21 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?