Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
255 views
hi,

I have a 3 tabs strip in my page and I want to perform validation as you move from one strip to another. I used requiredfield validator for textboxes and compare validator for combo boxes ,so when i fill tab1 it won't allow me to go to tab2 even if all data is valid in tab1.
I tried to use validationGroup for every tab, but it doesn't do validation at all.
how to do validation on all three tabs??
Veronica
Telerik team
 answered on 29 Apr 2010
1 answer
104 views
Hi
I'm using the advanced edit and advanced insert form, but I want to add one more form (not an inline form).
Is this possible?
It will be triggered from a contextmenu.

Kind Regrads
Dick
Peter
Telerik team
 answered on 29 Apr 2010
1 answer
181 views

How can I change the z-index of a chart series? I have couple of chart series on a chart. One chart series type is StackedArea while the others are StackedBar. Telerik chart seems to assign the z-index of the chat-series-elements based on the order from the code.


Please look at the attached image. On the Data Table, I would like "OverOrUnder" to the listed as the last row. I can achive this by moving it as the last Chart Series on the code but if I do that the Red StackedArea series will come to the front and hide BookedWork and SolidProspect for some weeks. Any ways to achive this?

Ren
Top achievements
Rank 1
 answered on 29 Apr 2010
0 answers
160 views
Good Day All

i have the Following Query

SELECT  distinct  ID, Dy,  Sess,[Code],[Description],Abrev,[Type],Number,
GrpName,GrpNumber,Duration,[Students],
[Venue],Capacity,
[Staff],[ModlID],[Term]
,[StaffTerm]
,[Date],[Length]
FROM
#Final_Timetable



and the table looks like this
See Screenshot of the table

In my timetable the data will look like this on a custom Schedule that i created myself , it consist of labels and more

Old Viewer

Now on the Lefthand Side you see there are Numbers 1,2,3, till 13. This is because no dates has been used. So i will be using the number of Periods a day. So this data will be comming from the Database and  at the top there are days excluding Sundays and Saturdays.

Now i want to use the RadSchedule to Display the timetable

By html looks like this

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="New_Viewer.aspx.cs" Inherits="Viewer_New_Viewer" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>GraphicView</title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
    <div>
        <telerik:RadScheduler ID="RadScheduler1" runat="server" DataSourceID="SqlDataSourceTimetable"
            DataEndField="Date" DataKeyField="ID" Skin="Sunset" Height="726px" DataSubjectField="Description" DataStartField="Date" DataRecurrenceField="Dy" DataRecurrenceParentKeyField="Sess">
        </telerik:RadScheduler>
    
    </div>
        <asp:SqlDataSource ID="SqlDataSourceTimetable" runat="server" ConnectionString="<%$ ConnectionStrings:oDirectConnectionString %>"
            OnSelecting="SqlDataSourceTimetable_Selecting" ProviderName="<%$ ConnectionStrings:DBConnectionString.ProviderName %>"
            SelectCommand="sp_Timetable_View" SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:Parameter Name="selectionType" Type="String" />
                <asp:SessionParameter Name="selectedItems" SessionField="selectedItems" Type="String" />
                <asp:SessionParameter Name="selectedTerms" SessionField="selectedTerms" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
    </form>
</body>
</html>


and now i am using the Stored Procedure to get Data and i tested the sp in SQL management studio with its parameters and it brought the data back.

and this is how i used it with the Radschedule and i don't get any appointments when i run the application. in the Server on page load i have add this


    protected void Page_Load(object sender, EventArgs e)
    {
      RadScheduler1.DataBind();
    }

and still it does not work.

Thanks

Vuyiswa
Top achievements
Rank 2
 asked on 29 Apr 2010
1 answer
134 views
Hi,

In the example given in your site (url provided below), the code RadMenu1.SelectedItem throws an error when i tried out the sample example. I'm not able to understand why its happening so? The error I got is below
'Telerik.Web.UI.RadMenu' does not contain a definition for 'SelectedItem' and no extension method 'SelectedItem' accepting a first argument of type 'Telerik.Web.UI.RadMenu' could be found (are you missing a using directive or an assembly reference?) 
Do i need to add any reference?

url : http://demos.telerik.com/aspnet-ajax/menu/examples/programming/addremovedisableitems/defaultcs.aspx

Regards,
kk
Kamen Bundev
Telerik team
 answered on 29 Apr 2010
3 answers
163 views
I have a RadGrid that groups by three columns on load defined by GridGroupByExpressions. EditMode is PopUp and EditFormType is WebUserControl. In the RadGrid1_NeedDataSource event, the DataSource is bound to a SqlDataSource object ("this.RadGrid1.DataSource = this.sdsLeadDistributionSummary"). My problem is that it takes about 20 seconds for the user control (which is currently blank - it does not contain any logic) to pop up on edit. The edit column is autogenerated. The stored procedure behind the sql data source control executes in about 24 milliseconds. What could be causing the 20 second dealy for the user control to pop up? The same issue exists with GroupLoadMode of Client and Server. Note that the stored procedure only returns about 260 records. If I change the stored procedure to only return the top 10, the loading is much faster. So something must be happening to each of the 260 rows that is very time consuming. Any ideas?
Pavlina
Telerik team
 answered on 29 Apr 2010
6 answers
436 views
Am having two columns in radgrid
Column A is templatecolumn radcombobox &
Column B is GridBoundColumn

while clicking the add new record .two controls appears combobox & bounndcolumn textbox ,while selecting the value from
Combobox A  i wanna assign selected value  to Column B bound column textbox.
this should be done on  clientselectedindexchanged event of Column A

Pavlina
Telerik team
 answered on 29 Apr 2010
5 answers
239 views

Is there a way to set the editor for right-to-left languages programmatically?


Schlurk
Top achievements
Rank 2
 answered on 29 Apr 2010
2 answers
389 views
hi all ,i'm devoloping a multi image uploader inside radgrid  component
I used GridEditCommandColumn  as opening edit block
this grid also inside a page which have validators

so How to define a validation group for edit mode of grid control?


 <telerik:RadGrid runat="server" ID="ImagesRadGrid" AllowPaging="True" AllowSorting="True" 
          OnNeedDataSource="ImagesRadGrid_NeedDataSource" AutoGenerateColumns="False" Width="97%"    
          OnUpdateCommand="ImagesRadGrid_UpdateCommand" OnPreRender="ImagesRadGrid_PreRender" 
            ShowStatusBar="True" OnInsertCommand="ImagesRadGrid_InsertCommand" OnDeleteCommand="ImagesRadGrid_DeleteCommand" 
            GridLines="None" OnItemDataBound="RadGrid1_ItemDataBound" OnItemCreated="RadGrid1_ItemCreated" PageSize="2">  
            <PagerStyle Mode="NumericPages" AlwaysVisible="true" /> 
            <MasterTableView Width="100%" DataKeyNames="ImageUrl" > 
                <Columns> 
                    <telerik:GridEditCommandColumn ButtonType="ImageButton"   > 
                        <HeaderStyle Width="3%" /> 
                    </telerik:GridEditCommandColumn> 
                    <telerik:GridTemplateColumn HeaderText="Culture" UniqueName="Culture" SortExpression="Culture">  
                        <ItemTemplate> 
                            <asp:Label runat="server" ID="lblCulture" Text='<%# Eval("Culture.Description") %>' /> 
                        </ItemTemplate> 
                        <EditItemTemplate> 
                        <asp:Label runat="server" ID="lblCulture" Text='<%# Bind("Culture.Description") %>' /> 
                        </EditItemTemplate> 
                        <HeaderStyle Width="30%" /> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridTemplateColumn UniqueName="Upload">  
                    <ItemTemplate> 
                    <img name='imageViewer' alt="image" width='100' height='100'   src='<%# "../ImageWebForm.aspx?ImagePath="+Eval("ImageUrl") %>' /> 
                    </ItemTemplate> 
                    <EditItemTemplate > 
                    <div id="fileUpladerDiv">  
                        <table style="width:300px">  
                        <tr> 
                    <td style="width:250px;" >          
                        <telerik:RadUpload ID="RadUpload1"  runat="server"   InitialFileInputsCount="1"   
                        AllowedFileExtensions=".png" ControlObjectsVisibility="None"  Width="222px" Skin="WebBlue"  /> 
                    </td> 
                    </tr> 
                    </table> 
                    </div> 
                    </EditItemTemplate> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridButtonColumn Text="Delete" CommandName="Delete" ButtonType="ImageButton">  
                        <HeaderStyle Width="2%" /> 
                    </telerik:GridButtonColumn> 
                </Columns> 
                <EditFormSettings> 
                    <EditColumn ButtonType="ImageButton" /> 
                </EditFormSettings> 
            </MasterTableView>   
        </telerik:RadGrid>  
dank
Top achievements
Rank 1
 answered on 29 Apr 2010
2 answers
77 views
Hi,

i have a box on my end of editor ?
how can mask this box ?

thank's 

Ch Perez
Top achievements
Rank 1
 answered on 29 Apr 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?