Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
227 views
Requirement: Create 30 min time slots from 8 - 5 and allow users to create upto 5 appointments for each slot.
ex: 8 - 8:30 AM; 8:30 AM - 9:00 AM etc time slots should be available on the calendar for users to pick a time slot and schedule. Calendar should allow upto 5 concurrent appointments for a time slot.
Calendar can be database driven with time slots created in advance for x number of days.

Question: Can we accomplish this using Telerik Scheduler control?
Serrin
Top achievements
Rank 1
 answered on 10 Mar 2009
1 answer
116 views
Hi,

I have a grid bound to an objectdatasource.
I represents a shoping cart. Now my problem.

The cart class (reduced) 3 properties:
CartID, LineNumber, NumItems
Only NumItems is editable the other fields are readonly.
There is a static method called "UpdateNumItems" definedt like this:

public static int CartLinesChangeNumItems(string strCartID, int nLineNumber, int nNumItems) {  
... 
When I update in the grid it tells me "There is no generic method accepting strCartID, nLineNumber, nNumItems, NumItems, LineNumber, CartID
This is when I set (what's correct) CartID and NumItems as DatakeyNames.
If I remove the datakeyNames I get There is no... accepting strCartID, nLineNumber, nNumItems, NumItems

So I guess Grid uses the Parameters from the update parameters - and it adds his fields to this collection.

My Question now - how can I tell Grid the "translation" -- so I can Say NumItems is Parameter strNumItems.

Of course I could change the parameter names on the functions (then it works) -- but what if I am not able to do this?

Regards

Manfred
Yavor
Telerik team
 answered on 10 Mar 2009
1 answer
125 views
I have a rotator reading image urls from the images dir in the local website. when a user clicks the image it assigns the image url to a larger image and then updates the image by way of a RadAjax control... however what happens is that when you click the ribbon image you get an "access denied" dialog if you are not debugging and a VS debug popup if you are... here is the code block of where VS thinks the error is occuring

 

this._onReadyStateChange = (function () {

 

 

 

if (_this._xmlHttpRequest.readyState === 4 ) {

 

 

try {

 

 

if (typeof(_this._xmlHttpRequest.status) === "undefined") {

 

 

return;

 

}

}

 

catch(ex) {

 

 

return;

 

}

 

_this._clearTimer();

_this._responseAvailable =

true;

 

 

try {

 

_this._webRequest.completed(Sys.EventArgs.Empty);

}

 

finally {

 

 

if (_this._xmlHttpRequest != null) {

 

_this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;

_this._xmlHttpRequest =

null;

 

}

}

}

});


I dont know if this is related to the rotator or the RadAjax control so i am starting here. one other post mentioned cross domain posting but i am not doing that.

Thanks, Scott

Fiko
Telerik team
 answered on 10 Mar 2009
1 answer
174 views
Hi all

How to create customized raddatepicker.
In my application for calendar Skin="WebBlue" m using, it looks nice and compatible. but i want to change background color which match my website theme. i tried with customized skin like Skin="Mytheme" Enableembeddedskins="false" , but no chance how to achieve

Any help appreciable.
Pavlina
Telerik team
 answered on 10 Mar 2009
1 answer
117 views
COPIED THIS OVER TO THE RADGRID FORUM


Hi

This is my aspx code for a RadDatePicker used in an Edit template on a RadGrid.

The problem is when I try to add new record the selected date doesn't exist and I get a cast error, I've tried an iif and isdbnull. but cant get it to work, can anyone help.

                                <div>

                                    <label class="gridlabel">Review Date:</label>

                                    <telerik:RadDatePicker  ID="txtReviewDate" runat="server" MinDate="2000-01-01" EnableEmbeddedSkins="False" Skin="Expert" EnableEmbeddedBaseStylesheet="False"  Width="100px" SelectedDate='<%# Eval("ReviewDate") %>' >

                                    <DateInput EnableEmbeddedSkins="False" LabelCssClass="radLabelCss_Expert" Skin="Expert" DateFormat="dd/MMM/yyyy"></DateInput>

                                    <Calendar EnableEmbeddedSkins="False" Skin="Expert" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x" FastNavigationNextImage="~/App_Themes/Expert/Calendar/fastNavRight.gif" FastNavigationPrevImage="~/App_Themes/Expert/Calendar/fastNavLeft.gif" NavigationNextImage="~/App_Themes/Expert/Calendar/arrowRight.gif" NavigationPrevImage="~/App_Themes/Expert/Calendar/arrowLeft.gif"></Calendar>

                                    <DatePopupButton CssClass="radPopupImage_Expert" HoverImageUrl="../App_Themes/Expert/Calendar/datePickerPopupHover.gif" ImageUrl="../App_Themes/Expert/Calendar/datePickerPopup.gif"/>

                                    </telerik:RadDatePicker>

                                </div>

Thanks

Andy

 

 

 

 

 

 

 

Daniel
Telerik team
 answered on 10 Mar 2009
1 answer
80 views
  <>how to apply userdefined skins for radgrid  ???
reply asap.....
Daniel
Telerik team
 answered on 10 Mar 2009
3 answers
258 views
Hi,

Is it possible to extend a RadGrid Server control using ASP.NET AJAX extender as it is for a standard ASP.net Server control (ExtenderControl-http://msdn.microsoft.com/en-us/library/bb386403.aspx)
Please let me know if there is any samples with extended server controls for custom behavior.

Thanks,
Sudesh
Pavlina
Telerik team
 answered on 10 Mar 2009
1 answer
133 views

Hi,

I am using CustomizingRadProgressAreaUI radUpload. Also I am using the UI from CustomizingRadUploadUI.
In the UI it is referring to the Removebutton Image.
aspx Code is as below:
<table width="100%" cellpadding="0" cellspacing="0">

 <tr><td 

<rad:radupload SkinsPath="~/RadControls/Upload/Skins" id="Radupload1" runat="server" initialfileinputscount="1" />

 <rad:radprogressarea id="RadprogressArea1" runat="server" displaycancelbutton="True"></rad:radprogressarea>

 </td>

 <td>

 <div style="float:right;margin-right:9px;height:132px;width:250px;" class="module">

 <asp:label id="labelNoResults" runat="server" visible="True">No uploaded files yet</asp:label>

 <asp:repeater id="reportResults" runat="server" visible="False">

 <headertemplate>

 

Uploaded files:

<br /> </headertemplate>

<itemtemplate>'<%#DataBinder.Eval(Container.DataItem, "FileName")%>'

( '<%

 

#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>'

)<br /> 

</itemtemplate></asp:repeater>  

</div> </td></tr> </table>

 &nbsp;&nbsp;<asp:button id="buttonSubmit" class="RadUploadButton" runat="server" text="Submit" />
in .cs for handling UI of the RadUpload I have written code as below:

Radupload1.ControlObjectsVisibility = ControlObjectsVisibility.None;

 

//Radupload1.ControlObjectsVisibility = ControlObjectsVisibility.CheckBoxes;

Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.RemoveButtons;

 

//Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.ClearButtons;

Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.AddButton;

 //Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.DeleteSelectedButton;

 BindResults();

I have following question:
1) I want to change look and feel of the UI , bychanging positioning of the of the remove button in the same line where Add button.
2) Also, I want there should not be any Add button and when user will click on browse button and select any image then , this should automatically add new row at the bottom insted of user clicking on Add button. How can I achieve this?
3)The remove button which is at the right side of the browse button, I want to change the positioning of that button and want to place it at the left side.

How can I implement all above three.
Please Reply.

Paul
Telerik team
 answered on 10 Mar 2009
1 answer
176 views
Thank you for a wonderfull product !

I want to access a RadComboBox client-side that is nested inside a RadToolbar which is placed in the CommandItemTemplate of a RadGrid like this (simplified):

 

<telerik:RadGrid ID="RadGridInstalled">

 

    <

 

MasterTableView>
        <CommandItemTemplate>
            <telerik:RadToolBar ID="RadToolBarAddSoftware">

 

                <

 

Items>
                    <telerik:RadToolBarButton>
                        <ItemTemplate>
                            <telerik:RadComboBox ID="RadComboBoxAddSoftware">

To further complicate matters, the radgrid is placed in a usercontrol which is loaded from the main aspx page.

I need the client-side java-script to read the value from the RadComboBoxAddSoftware when a toolbar-button is clicked.

I hope you are able to help me.

Kind regards,

Ronnie

 

Max Petersen
Top achievements
Rank 1
 answered on 10 Mar 2009
6 answers
251 views
Hello!

I'm facing JavaScript error when I'm making ajax postback.

Error:

Error: uncaught exception: [Exception... "Node cannot be inserted at the specified point in the hierarchy"  code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)"  location: "http://WEBSITE/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-GB%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.3.1016.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-GB%3ad9b95411-03e4-4c33-81c7-6dbd12cc67c3%3a393f5085%3aa9723048%3aa3f85c94%3a39249aa4%3a34f9d57d%3a9703c1f0%3a665c7bcf%3a414de951%3a6f2bcae9%3a604faffd%3a34a10845%3aa444c1be Line: 4712"
Source file: http://WEBSITE/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-GB%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.3.1016.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-GB%3ad9b95411-03e4-4c33-81c7-6dbd12cc67c3%3a393f5085%3aa9723048%3aa3f85c94%3a39249aa4%3a34f9d57d%3a9703c1f0%3a665c7bcf%3a414de951%3a6f2bcae9%3a604faffd%3a34a10845%3aa444c1be 
Line: 6 

This is my ajaxmanager aspx code:
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="typesRadComboBox"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="typesRadComboBox" /> 
                    <telerik:AjaxUpdatedControl ControlID="calendarRadScheduler" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="calendarRadCalendar"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="calendarRadCalendar" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="calendarRadScheduler"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="calendarRadScheduler" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="30"
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' 
            style="border: 0px;" /> 
    </telerik:RadAjaxLoadingPanel> 

After first AJAX postback I'm losing RadScheduler CSS with images and RadAjaxLoadingPanel is showing only once (probably because JS error). I'm using latest Q3 beta controls. What else do You need to know?

Thanks
Jeff Wardwell
Top achievements
Rank 1
 answered on 10 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?