Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
81 views
Hello,

I have grid in which I have populate the data for two dates , Now I want to show the future date data in gray color and todays date  data in white color at runtime(Server side). or any how.
How should I do this Please give me suggestion.

like this grid rows
_______________________________________
|                   Header row                                       |
_______________________________________
|           Todays date data in white                         |
_______________________________________
|           Future date data in gray color                   |
_______________________________________
|           Future date data in gray color                   |
_______________________________________
|           Future date data in gray color                   |
_______________________________________
Amit
Top achievements
Rank 1
 answered on 31 Oct 2012
3 answers
85 views
I populate a SPRadGrid with a BCS external list , i would like update row , but this functionnalitie doesn't work.  

Delete, and edit mode is OK. 
I haven't any error message. 
Could you help me , Could you help me , i need to know,  what's happening when i clik on "update" ?

thanks. 
Tsvetoslav
Telerik team
 answered on 31 Oct 2012
5 answers
51 views
Hi,

I have been searching for an integration example with HTMLCharts inside the RadRotator but I don't see any.  I'm not sure if this feature is available or not, if not what other options do I have or any alternative methods?

Thanks,

VV
Marin Bratanov
Telerik team
 answered on 31 Oct 2012
5 answers
162 views
I have created custom skin, based on "Sunset". Then I discovered, that my RadAjaxLoadingPanel disappeared, because there where no CSS class for it in new skin. I used Ajax.css from directory, where Telerik is installed. But I am not sure this file is good enough. And maybe something else is disappeared too. Is it possible to create Ajax.css (and maybe other missed files too) during skin creation? Is any solution for this problem exists? Regards. Michal.

Galin
Telerik team
 answered on 31 Oct 2012
7 answers
171 views
I am getting an error Rendering Control with ScriptManager.  I recently added Q1 2010 upgrade to my VS 2010.
I put the ScriptManager in a Master Page now when I open any other aspx page I get the following
[A]Telerik.Web.UI.RadScriptManager cannot be cast to [B] Telerik.Web.UI.RadScriptManager.  Type A originates from Telerik.Web.UI, Version 2010.1.309.20, .....at location <local machine path>\Project Assemblies\venh7src01\Telerik.Web.UI.dll.  Type B originates from Telerik.Web.UI, Version 2010.1.309.35, .....at location <local machine path>\Project Assemblies\b1r6yiza01\telerik.web.ui.dll

 If I open the master page then open the aspx page I don't get the error but when i open just the aspx page I get the error.
Ok so now I see what the problem is but how do I fix it?  How did I do this? TIA
Genady Sergeev
Telerik team
 answered on 31 Oct 2012
6 answers
134 views
Not sure if this is the correct place, I couldn't find an area for feature requests:

How about a PayPal component?

I've been searching the web for ideas on how to use PayPal in asp.net pages, and see that Component One offer some, that they advertise as free, but I can't figure out how to get them.

Andy
Tsvetoslav
Telerik team
 answered on 31 Oct 2012
10 answers
459 views
I've been having trouble removing the statusbar from a window launched from within a window. Is this possible to accomplish?

I've read that this cannot be done with client side code, which is how I am currently launching the window. I've tried to, instead, define a window in my masterpage, and then try to get a reference to it from my window, and launch it from there, but with no luck.

The code I am currently using to launch a window from a window is -

function LaunchSalesRequest() {  
        var parent = GetRadWindow().BrowserWindow;  
        var salesRequest = parent.radopen("SalesRequest.aspx""Sales Request For New Client");  
        salesRequest.set_width(720);  
        salesRequest.set_height(580);  
        salesRequest.center();  
        salesRequest.set_status(""); // would like to remove statusbar, not just blank it  
        salesRequest.set_title("Sales Request For New Client");  
        setTimeout(function() { attach.setActive(true); }, 0);  
    } 
Marin Bratanov
Telerik team
 answered on 31 Oct 2012
1 answer
73 views
Hi,

I am new to telerik and currently working on a nested gridview.
I need to connect VEDK_ProductCategory table to VEDK_Product table. I have a diagram here:

DB Diagram


I can not figure out how I should configure the MasterTableView and DetailTable to make this happen.

ProductCategory 1
  •    Product 1
  •    Product 7

ProductCategory 2
  •    Product 4
  •    Product 6


Hope you can help me.

//Mads...
Eyup
Telerik team
 answered on 31 Oct 2012
1 answer
33 views
We can drag the RadDock to extreme right and extreme bottom.

Question - Is there any way to restrict the dock to be dragged to some area only toward right and bottom?
Pankaj
Top achievements
Rank 1
 answered on 31 Oct 2012
1 answer
66 views
Hi,
I can able to insert the Appointment details in DB. But I couldn't able Insert both Room and User Details. Please find the below code for your review and help me out for the same.


/*------------------------------------------------------------------------------------------------------------------*/
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestRADScheduler.aspx.cs" Inherits="TestRADScheduler" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:SqlDataSource ID="RoomsDataSource" runat="server"
            ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
            SelectCommand="SELECT [ID], [RoomName] FROM [Rooms]" DeleteCommand="DELETE FROM Rooms WHERE (ID = @ID)"
            InsertCommand="INSERT INTO Rooms(RoomName) VALUES (@RoomName)" UpdateCommand="UPDATE Rooms SET RoomName = @RoomName">
            <DeleteParameters>
                <asp:Parameter Name="ID" />
            </DeleteParameters>
            <InsertParameters>
                <asp:Parameter Name="RoomName" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="RoomName" />
            </UpdateParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="sqlUserDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
            SelectCommand="SELECT [ID], [UserName] FROM [Users]"
            DeleteCommand="DELETE FROM Users WHERE (ID = @ID)"
            InsertCommand="INSERT INTO Users(ID, UserName) VALUES (@ID, @UserName)"
            UpdateCommand="UPDATE Users SET ID = @ID, UserName = @UserName">
            <DeleteParameters>
                <asp:Parameter Name="ID" Type="Int32" />
            </DeleteParameters>
            <InsertParameters>
                <asp:Parameter Name="ID" Type="Int32" />
                <asp:Parameter Name="UserName" Type="String" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="ID" Type="Int32" />
                <asp:Parameter Name="UserName" Type="String" />
            </UpdateParameters>
        </asp:SqlDataSource>


        <asp:SqlDataSource ID="sqlDSAppointment" runat="server" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
            DeleteCommand="DELETE FROM [Appointments] WHERE [ID] = @ID"
            InsertCommand="INSERT INTO Appointments(Subject, Start, [End], RecurrenceRule, RecurrenceParentID, Description, RoomID, Reminder) VALUES (@Subject, @Start, @End , @RecurrenceRule, @RecurrenceParentID, @Description, @RoomID, @Reminder)"
            SelectCommand="SELECT ID, Subject, Start, [End], RecurrenceRule, RecurrenceParentID, Description, RoomID, Reminder FROM Appointments"
            UpdateCommand="UPDATE Appointments SET Subject = @Subject, Start = @Start, [End] = @End , RecurrenceRule = @RecurrenceRule, RecurrenceParentID = @RecurrenceParentID, Description = @Description, RoomID = @RoomID, Reminder = @Reminder WHERE (ID = @ID)">


            <DeleteParameters>
                <asp:Parameter Name="ID" Type="Int32" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="Subject" Type="String" />
                <asp:Parameter Name="Start" Type="DateTime" />
                <asp:Parameter Name="End" Type="DateTime" />
                <asp:Parameter Name="RecurrenceRule" Type="String" />
                <asp:Parameter Name="RecurrenceParentID" Type="Int32" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="RoomID" Type="Int32" />
                <asp:Parameter Name="Reminder" Type="String" />
                <asp:Parameter Name="ID" Type="Int32" />
            </UpdateParameters>
            <InsertParameters>
                <asp:Parameter Name="Subject" Type="String" />
                <asp:Parameter Name="Start" Type="DateTime" />
                <asp:Parameter Name="End" Type="DateTime" />
                <asp:Parameter Name="RecurrenceRule" Type="String" />
                <asp:Parameter Name="RecurrenceParentID" Type="Int32" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="RoomID" Type="Int32" />
                <asp:Parameter Name="Reminder" Type="String" />
            </InsertParameters>
        </asp:SqlDataSource>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="radScheduler" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadScheduler ID="radScheduler" runat="server" AdvancedForm-EnableCustomAttributeEditing="true" EnableResourceEditing="true" DataDescriptionField="Description" DataEndField="End" DataKeyField="ID"
            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" DataReminderField="Reminder" 
            DataSourceID="sqlDSAppointment" DataStartField="Start" DataSubjectField="Subject" EnableDescriptionField="True" Height=""
            >
            <Reminders Enabled="True" />
            <AdvancedForm EnableCustomAttributeEditing="True" />
            
            <ResourceTypes >
                <telerik:ResourceType AllowMultipleValues="true"  DataSourceID="RoomsDataSource" ForeignKeyField="RoomID"
                    KeyField="ID" Name="Room" TextField="RoomName" />
                <telerik:ResourceType DataSourceID="sqlUserDataSource" ForeignKeyField="ID" KeyField="ID" Name="Users" TextField="UserName" />
            </ResourceTypes >
            <ResourceStyles >
                <telerik:ResourceStyleMapping Type="Room"  ApplyCssClass="rsCategoryOrange" Text="Room 101" Key="ID"  />
                <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryGreen" Text="Room 102" Key="RoomID"/>
                <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryPink" Text="Room 201" Key="RoomID"/>
                <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryViolet" Text="Room 202" Key="RoomID"/>
            </ResourceStyles>


<WebServiceSettings>
<ODataSettings InitialContainerName=""></ODataSettings>
</WebServiceSettings>
        </telerik:RadScheduler>
    </div>


    </form>
</body>
</html>


Regards,
Saravanan M
Plamen
Telerik team
 answered on 31 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?