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

I have read "code snippets" as chunk of HTML.

My project needs me to add snippet that has chunk of JavaScript, such as twitter search widget.
Does not need to show on Editor Design though(as <script> etc).
How can we achieve this?

regards
ami
Rumen
Telerik team
 answered on 02 Dec 2011
12 answers
259 views
Hi,

Nor sure if this is possible or not.  I am evaluating RadScheduler to replace another scheduling component and most things are better, but what I do need is the ability on a Day view to click into a time slot, drag down to a later time slot and then, when the mouse button is released open the appointment window with the start and finish times already defined.

What I need to know is, is this possible in the current release of RadScheduler, or is it planned for a future release?

David Penny
Peter
Telerik team
 answered on 02 Dec 2011
0 answers
48 views
Hello!
I have an issue with RadTreeView, that takes place if i have these condions meet together:
1) IE 8. This issue does not happen in Chrome and IE7 under IETester.
2) RadTreeView is in RadWindow
3) All nodes have Exanded == true or ExpandMode == ServerSideCallback;
4) The node i want to expand, icontains at least one node with ExpandMode == ServerSideCallback && Expanded == false //not quite sure about this
None of my RadTreeViews placed directly on page, outside of RadWindow, have this issue.
Thanks for attention.
Konstantin Isaev
Konstantin Isaev
Top achievements
Rank 1
 asked on 02 Dec 2011
2 answers
81 views
I have modified my AppointmentTemplate to add some additional ImageButtons. The buttons display as I'd like, but I'm not sure how to wire up an event for the buttons that will include the Appointment object as an event argument. I'm doing this in c#.
Is there an example of this somewhere I can look at? Thanks!

PS - title is wrong, these are ImageButtons if that makes a difference.
Matt
Top achievements
Rank 1
 answered on 02 Dec 2011
1 answer
156 views
What are the events that are called when the tab is clicked? I am trying to load a grid that is in Tab2. But it does not populate because Tab2 events are being called.
Bozhidar
Telerik team
 answered on 02 Dec 2011
1 answer
145 views
Hi,

I am using treeview and in my tree there are few nodes that are visible and few that are not visible depending upon their type. I am trying to find the invisible nodes from client side code using findNodeByText/findNodeByValue functions but it always returns null. is it possible to get hidden nodes? if not then what is the workaround?
Bozhidar
Telerik team
 answered on 02 Dec 2011
3 answers
237 views
Hello,

it seems that the ComboBox isn't working with IE9 if HTTPS is used. With FireFox or Chrome everything works fine. 
Create an selfsigend certificate in IIS (https://localhost/TelerikAjaxTest/) and enter a value in the combobox. nothing is happen.
Is there any solution for this issue?

aspx:
<body>
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <div>
               <telerik:RadComboBox ID="testCombo" runat="server" ShowToggleImage="false" EnableLoadOnDemand="true" Width="200px" AllowCustomText="false" AppendDataBoundItems="true">
                <Items>
                    <telerik:RadComboBoxItem Text="Eingabe zur Suche..." Selected="true" Font-Italic="true" ForeColor="Silver" />
                </Items>
                <WebServiceSettings Path="~/Services/AgentService.svc" Method="GetAgents" />
            </telerik:RadComboBox>
            </div>
        </form>
    </body>

AgentService:
[ServiceContract( Namespace = "http://TelerikAjaxTest/AgentService" )]
    [AspNetCompatibilityRequirements( RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed )]
    public class AgentService
    {      
        [OperationContract]
        public RadComboBoxData GetAgents( RadComboBoxContext context )
        {
            List<RadComboBoxItemData> list = new List<RadComboBoxItemData>()
            {
                new RadComboBoxItemData { Text = "Value1", Value = "Value1" },
                new RadComboBoxItemData { Text = "Value2", Value = "Value2" },
                new RadComboBoxItemData { Text = "Value3", Value = "Value3" },
                new RadComboBoxItemData { Text = "Value4", Value = "Value4" },
                new RadComboBoxItemData { Text = "Value5", Value = "Value5" }
            };
             
            RadComboBoxData result = new RadComboBoxData();
            result.Items = list.ToArray();
            result.EndOfItems = true;
            return result;
        }  
    }

web.config
<system.serviceModel>
    <behaviors>
        <endpointBehaviors>
            <behavior name="aspNetAjaxBehavior">
                <enableWebScript/>
            </behavior>
        </endpointBehaviors>
    </behaviors>
    <services>
        <service name="TelerikAjaxTest.Services.AgentService">
            <endpoint address="" behaviorConfiguration="aspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding" contract="TelerikAjaxTest.Services.AgentService"/>
        </service>
    </services>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    <bindings>
        <webHttpBinding>
            <binding name="webBinding">
                <security mode="Transport">
                </security>
            </binding>
        </webHttpBinding>
    </bindings>
</system.serviceModel>

Regards,
Timo
Simon
Telerik team
 answered on 02 Dec 2011
3 answers
106 views
First bug:
If your request exceeds maxRequestLength, RadProgressArea does not show up at all..

Making this example code useless:
http://www.telerik.com/help/aspnet-ajax/upload-how-to-client-file-size.html

And since all requests are completed either way i'm not inclined to increase my httpRuntime maxRequestLength any further.

And i'm not sure i would want to let users "cancel" their uploads when they are not really being cancelled, but lingering and consuming bandwidth.

Second bug:
If you should decide to display the cancel button, you'll notice that any subsequent attempt at uploading leaves the ProgressArea at a fixed position of where it was last cancelled.
Peter Filipov
Telerik team
 answered on 02 Dec 2011
1 answer
174 views
Hi,

I am new to use RadDock and doing a page similar to the one that looks like iGoogle where we can add gadgets to the page dynamically and realign, edit, close added docks with in one main dashboard (I am calling with that name) page. Each gadget chosen from the list will get loaded into the RadDockZone which there after can be realigned, refreshed by changing drop down and clicking on a button. My requirement is when the ascx control loaded into the dock is submitted (postback) the remaining widgets should not be refreshed or reloaded.


The current page architecture is like, 
1. I have a master page within which some banner (header and few links like settings, signout) and footer (some information and few navigation links) will be present.
2. I have an .aspx page (inside master page) where sliding page with few buttons (called as Gadgets that are dynamically loaded like flickr, twitter, horoscope etc.,), RadDockLayout with 3 RadDockZone(s) inside layout is present.
3. I have a .ascx user controls for each gadget that will interact with the web service (hosted some where) and has its own layout that gets generated with the web service data.


Issue:
When I add the gadget to the page (Default.aspx present in Master.Master), the appropriate user control is getting loaded within the assigned RadDockZone by executing the Page_Load (with IsPostBack as true for the first time). 
After getting the RadDockZone loaded with gadget selected, the first time drag drop of control (widgets/.ascx page) will not work as the moved gadget will be automatically placed into the source RadDockZone (from where we moved the dock).
Another issue is, if you change the selected index to something else within the raddock (SelectedIndexChanged for dropdown with AutoPostBack=true), data is loaded again and selected index will mark to 0. This is because for user control Page_Load is happening with IsPostBack as true.


Please help!!!


Thanks,
J
Slav
Telerik team
 answered on 02 Dec 2011
1 answer
214 views
I'm trying to find the proper way to deal with Validation, either using RequiredFieldValidator, RegularExpressionValidator, or a CustomValidator. When one of these validators hooked up to a Telerik RadInput control fails, I'd like the control to switch to it's Invalid State, showing the warning, etc. I can't find anyway to do this. 

[EDIT]

I've managed to figure out how to use RadInputManager to validate some of my textboxes... except that it doesn't seem to be invoked during Page.Validate(group), even if I set a group on the TextSetting. It seems like the TextSetting isn't actually added to the Control hierarchy, and so is never located. It also only has a single ErrorMessage property, which makes it impossible to actually specify different message for different inputs, even if their behaviors are the same: First name is required, last name is required, foo is required, blah is required, etc.

So other than setting the Invalid state of the controls... I can't figure out how this makes things EASIER?
Jerome
Top achievements
Rank 1
 answered on 02 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?