Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
105 views
I have 3 tab.
In all tabs I have RequiredFieldValidadtor.
Steps:
1- fill all fields of Tab1.
When click to change Tab2 doest not work.
If i comment RequiredFieldValidator of tab2 , is work.

What is the problem?

July
Top achievements
Rank 2
 answered on 30 Nov 2011
1 answer
169 views
Hi,

I have a Radscriptmanager in my master page. On pages not using any RadControls I receive 'Telerik' is undefined, but on pages that are using RadControls everything works fine. Any ideas what's causing this?

Best Regards
//H
Kalina
Telerik team
 answered on 30 Nov 2011
1 answer
58 views
Hello -

I need one of the editor fixes in the latest internal builds. Is there a planned date for releasing a Q3 service pack which will include this?
Rumen
Telerik team
 answered on 30 Nov 2011
1 answer
66 views
Hi

When we upload image in rad editor and give it height and width it render like
<img src="abc.jpg" style="height:100px; width:100px;">

but in your demo we find it render like

<img src="abc.jpg" height=100 width=100>

Actually we are using this html for mailing purpose so we wand the rendering like it does in your demo.

so please help me to find how can i set my editor so that it render like your demo
Rumen
Telerik team
 answered on 30 Nov 2011
1 answer
39 views

I have implemented CoverFlowMode using Radrotator, as there are huge records I am implemeting paging manually using RadAjaxManager Ajax Request on button click.

But the RadRotator is not getting updated with next records using RadAjaxManager. How can I update Radrotator CoverFlowMode  with RadAjaxManager.

Below is the code
aspx file code

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

<script type="text/javascript">

 

function ClientClicked() {

$find(

<%= rmStudentList.ClientID %>").ajaxRequest("NEXT");
return false;

 }
</script>
</telerik
:RadCodeBlock >

 

 

 

<div class="mainDiv">
<asp:Panel ID="RotatorWrapper" runat="server" CssClass="rotWrapper">

<telerik:RadRotator ID="RadRotator1" runat="server" Width="748px" ItemWidth="150"

ScrollDirection="Left, Right" Height="233px" ItemHeight="113" ScrollDuration="500"

FrameDuration="2000" PauseOnMouseOver="false" RotatorType="CoverFlow" InitialItemIndex="4"

OnClientItemShown="OnClientItemShown" OnClientItemClicked="OnClientItemClicked"

CssClass="RemoveRotatorBorder">
<ItemTemplate>

<asp:Image ID="Image1" runat="server" ImageUrl='<%# GetImagePath(Eval("ImagePath")) %>'

AlternateText='<%# Eval("LastName") %>' />

</ItemTemplate>

</telerik:RadRotator>

<input id="Button1" type="button" runat="server" value="Next" onclick="ClientClicked(); return false;" />

</asp:Panel>

</div>

cs file

 

protected void rmStudentList_AjaxRequest(object sender, AjaxRequestEventArgs e)

{

ConfigureRadRotator(RotatorType.CoverFlowButtons);

}

 

 

 

 

 

 

 

Slav
Telerik team
 answered on 30 Nov 2011
3 answers
124 views

Has anyone had an issue where the RAD ToolBar does not display when trying to edit a page? 99% of our website authors have no issues.

Some users have started to author for the first time and i have 3 cases where their PC/MAC does not display the ToolBar when they click in the Page Content to edit.

But they have tried another PC/MAC and it's fine. Appears to be PC specific in particular these are Windows 7, MAC 
OSX Lion 10.7.1 and OSX Snow Leopard 10.6.8.

Any ideas on where to look or how to resolve? These are new PC's/MAC and we are using RADEditor for MOSS2007 version 2010.3.1317.

Rumen
Telerik team
 answered on 30 Nov 2011
1 answer
114 views
I have implemented CoverFlowMode using Radrotator, as there are huge records I am implemeting paging manually using RadAjaxManager Ajax Request on button click.

But the RadRotator is not getting updated with next records using RadAjaxManager. How can I update Radrotator CoverFlowMode with RadAjaxManager.

Below is the code
aspx file code

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

<script type="text/javascript">

function ClientClicked() {

$find(

<%= rmStudentList.ClientID %>").ajaxRequest("NEXT");
return false;

}
</script>
< /telerik
:RadCodeBlock >

<div class="mainDiv">
<asp:Panel ID="RotatorWrapper" runat="server" CssClass="rotWrapper">

<telerik:RadRotator ID="RadRotator1" runat="server" Width="748px" ItemWidth="150"

ScrollDirection="Left, Right" Height="233px" ItemHeight="113" ScrollDuration="500"

FrameDuration="2000" PauseOnMouseOver="false" RotatorType="CoverFlow" InitialItemIndex="4"

OnClientItemShown="OnClientItemShown" OnClientItemClicked="OnClientItemClicked"

CssClass="RemoveRotatorBorder">
<ItemTemplate>

<asp:Image ID="Image1" runat="server" ImageUrl='<%# GetImagePath(Eval("ImagePath")) %>'

AlternateText='<%# Eval("LastName") %>' />

</ItemTemplate>

</telerik:RadRotator>

<input id="Button1" type="button" runat="server" value="Next" onclick="ClientClicked(); return false;" />

</asp:Panel>

</div>

cs file

protected void rmStudentList_AjaxRequest(object sender, AjaxRequestEventArgs e)

{

ConfigureRadRotator(RotatorType.CoverFlowButtons);

}

Slav
Telerik team
 answered on 30 Nov 2011
1 answer
91 views
Hi, I have a repeater which is in other parent repeater. And I'm using RadUpload control. I'm getting these following requests from page when I click Upload Button. It always calling RadUploadProgressHandles.ashx page. I'm using Chrome. And following messages copied from Chrome developer tools.
XHR finished loading: "http://localhost:2755/wwwroot/Telerik.RadUploadProgressHandler.ashx?RadUrid=fceaecf0-7245-41b9-845c-06c698daa073&RadUploadTimeStamp=1322577510953&".
My Codes:
<asp:Repeater ID="rptrTaskGroup" runat="server" onitemdatabound="rptrTaskGroup_ItemDataBound">
        <ItemTemplate>
            
                <asp:Repeater ID="rptrTasks" runat="server" OnItemDataBound="rptrTasks_ItemDataBound" OnItemCommand="rptrTasks_ITemCommand">
                <ItemTemplate>  
                            <div id='<%# "TaskDocumentUpload"+Eval("IntCode").ToString() %>' style="width:50%; float:left; display:none;">
                                <telerik:RadUpload ID="RadUpload1" runat="server" ControlObjectsVisibility="AddButton" EnableFileInputSkinning="true" InitialFileInputsCount="1" OnClientAdded="addTitle"/>
                             
                                <asp:Button id="btnTaskDocumentUpload" runat="server" CssClass="RadUploadSubmit" CommandName="UploadDocuments" CommandArgument='<%# Eval("IntCode").ToString() %>' text="Yükle" />
                        </div>
 
                </ItemTemplate>       
                </asp:Repeater>    
        </ItemTemplate>      
        </asp:Repeater>
Thanks..
Bozhidar
Telerik team
 answered on 30 Nov 2011
4 answers
169 views
hi : 
My English is not very good,, sorry , I've spoke Persian
I have a Combobox and in combobox There are TreeView . 
treeview Connected to SQLDATASOURCE1 ...

I need the id of an item from the tree to the combobox . 
Id Saved To Dattabase ,
how Access to TreeView and Selected Item in TreeView ,

Thanks a lot


Ivana
Telerik team
 answered on 30 Nov 2011
0 answers
96 views

Hi.

I’m new at MVC and I have a problem.

The problem is that a sub grid does not show any results.

Here is my view code:

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<LogReaderTest.Models.LogModel>" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
 
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 
    <h2>Index</h2>
    <div class="editor-label">
 
        <% Html.BeginForm("Search", "Home", FormMethod.Post); %>
       Start Date<br />
       <%=Html.TextBox("StartDate", ViewData["StartDate"], new { style = "width:80px" })%>
       <br />
       <br />
       End Date<br />
       <%=Html.TextBox("EndDate", ViewData["EndDate"], new { style = "width:80px" })%>
       <br />
       <br />
    <input type="submit" name="submitButton" value="Search" />
    <br />
    <br />
    <%if (Model != null) { %>
    <%= Html.Telerik().Grid(Model.ToDataView)
        .Name("Trades")
        .Columns(columns =>
        {
            columns.Bound("Id").Title("Ticket").Width(80);
            columns.Bound("DateTime").Width(170);
            columns.Bound("Type").Width(230);
            columns.Bound("Message");
        })
        .ClientEvents(events=> events.OnRowDataBound("trades_onRowDataBound"))     
        .DetailView(details => details.ClientTemplate(
            Html.Telerik().Grid(Model.ToDataView)
            .Name("Orders_<#= Id #>")
            .Columns(columns =>
                {
                    columns.Bound("Message");
                })
                .DataBinding(dataBinding => dataBinding.Ajax()
                    .Select("_Orders", "Home", new {
                    ticket = "<#= Id #>"}))
                    .Pageable()
                    .Sortable()
                    .ToHtmlString()
                    ))
        .DataBinding(dataBinding => dataBinding.Server().Select("_Trades", "Home"))
        .Pageable(paging => paging.PageSize(60))
        .Scrollable(scrolling => scrolling.Height(1200))
        .Sortable()
    %>
   <% }
        else if (Model == null)
        { %>
 
 
    <% } %>
    <script type="text/javascript">
 
        function expandFirstRow(grid, row) {
            if (grid.$rows().index(row) == 0) {
                grid.expandRow(row);
            }
        }
 
        function trades_onRowDataBound(e) {
            var grid = $(this).data('tGrid');
            expandFirstRow(grid, e.row);
        }
 
    </script>
 
 
</asp:Content>

The LogModel class is simple class than inherits : IEnumerator, IEnumerable.

Contains ArrayList, getters, setters and IEnumerator, IEnumerable methods


here is my controller:

public class HomeController : Controller
    {
   
 
        public ActionResult Index()
        {
        
 
            ViewData["StartDate"] = new DateTime(2011, 10, 12).ToString("dd/MM/yyyy");
            ViewData["EndDate"] = new DateTime(2011, 10, 13).ToString("dd/MM/yyyy");
 
            return View();
                         
        }
 
        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Search(FormCollection formValues)
        {
            var txbStart = formValues["StartDate"];
            var txbEnd = formValues["EndDate"];
            ViewData["StartDate"] = txbStart;
            ViewData["EndDate"] = txbEnd;
 
            LogReaderTest.Models.TradesLogModel tlm = new Models.TradesLogModel(new DateTime(2011, 10, 12), new DateTime(2011, 10, 13));
 
            tlm.SearchByLogin(78);
 
 
            return View("Index", tlm);
        }
        public ActionResult Home()
        {
            return View();
        }
 
 
        [GridAction]
        public ActionResult _Trades()
        {
 
            LogReaderTest.Models.TradesLogModel tlm = new Models.TradesLogModel(new DateTime(2011, 10, 12), new DateTime(2011, 10, 13));
 
            tlm.SearchByLogin(43);
 
            return View("Index", tlm);
        }
 
        [GridAction]
        public ActionResult _Orders(int id)
        {
            LogReaderTest.Models.OrdersLogModel olm = new Models.OrdersLogModel(new DateTime(2011, 10, 12), new DateTime(2011, 10, 13));
            olm.SearchLogBy_Mt_Id(id);
 
            return View("Index", olm);
        }
 
    }



OrdersLogModel and TradesLogModel are inherid from LogModel

ToDataView method
public DataView ToDataView
       {
           get
           {
               DataTable dt = new DataTable();
               dt.Columns.Add("Id", typeof(int));
               dt.Columns.Add("DateTime", typeof(string));
               dt.Columns.Add("Ms", typeof(int));
               dt.Columns.Add("Type", typeof(string));
               dt.Columns.Add("Message", typeof(string));
                
               foreach (LogReaderTest.Models.LogLine d in log)
               {
                   dt.Rows.Add(d.Id, d.Datetime.ToString("dd/MM/yyyy HH:mm:ss.fff"), d.Milliseconds, d.Type, d.Message);                                            
 
               }
               DataView dv = new DataView(dt);
 
               return dv;
           }
       }
 



Best regards Paul.


 
C
Top achievements
Rank 1
 asked on 30 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?