Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
145 views
Hi, I tried using the form decorator on the asp.net membership forms but only the buttons are skinable?  Any info on how to decorate the stock forms without having to create custom login, change password forms ?

thanks

Also, unrelated question - is there a rad button or button making tool that is available with telerik - or to be able to create rounded buttons like on the rad upload page (for example?) ?  or at the bottom of this page (post button)?

thanks
Georgi Tunev
Telerik team
 answered on 20 Nov 2009
3 answers
150 views
I'm trying to get Tooltip displayed based on given day. I followed the Calendar demo example but its not working. Here are my codes.

ASPX Code:
            <telerik:RadCalendar ID="RadCalendar1" OnDayRender="RadCalendar1_DayRender" Width="200" Height="200" Skin="Web20" runat="server" />
            <telerik:RadToolTipManager Width="215px" Height="300px" RelativeTo="Element" ID="RadToolTipManager1"
             runat="server" OffsetX="15" OnAjaxUpdate="RadToolTipmanager1_AjaxUpdate" Position="MiddleRight" Skin="Telerik">
            </telerik:RadToolTipManager>

VB Code:
Protected Sub RadCalendar1_DayRender(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs)
        Dim ID As Integer = IsDayRegisteredForTooltip(e.Day.[Date])
        If ID <> -1 Then
            Dim cell As TableCell = e.Cell
            cell.CssClass = "Appointment"
            cell.Attributes.Add("ID", "Calendar1_" + ID.ToString())
            RadToolTipManager1.TargetControls.Add(e.Cell.Attributes("ID"), ID.ToString().Substring(ID.ToString().IndexOf("_"c) + 1), True)
        End If
    End Sub
    Private Function IsDayRegisteredForTooltip(ByVal p_Eventdate As DateTime) As Integer
        Dim m_dResult As DataSet
        Dim clsSBAMethod As New SBAMethods
        Dim m_startDate, m_endDate As Date

        m_startDate = p_Eventdate
        m_endDate = p_Eventdate

        m_dResult = GetEventList(m_startDate.ToString("MM/dd/yyyy"), m_endDate.ToString("MM/dd/yyyy"), "", "", 0, 0)
        If m_dResult.Tables(0).Rows.Count > 0 Then
            Return Integer.Parse(m_dResult.Tables(0).Rows(0)("cale_id"))
        End If
        Return -1
    End Function

    Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs)

        Dim details As c_eventdetail = DirectCast(Me.LoadControl("../user_controls/c_eventdetail.ascx"), c_eventdetail)
        details.EventID = Integer.Parse(e.Value)
        e.UpdatePanel.ContentTemplateContainer.Controls.Add(details)
    End Sub

EventDetail Control code:
 Private Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
        Dim clsSBAMethod As New SBAMethods
        Dim m_Result As DataSet
        m_Result = GetEventDetails(EventID)
        If m_Result.Tables(0).Rows.Count > 0 Then
            lblDetail.Text = m_Result.Tables(0).Rows(0)("descript")
        End If
    End Sub


Can someone please help me, all the data are coming from webservice method?


Iana Tsolova
Telerik team
 answered on 20 Nov 2009
4 answers
297 views
I am trying to get the visibility of a datagrid row and it always returns "false".
function toggleTreeRows(gridId,rowId) { 
        var masterTable = $find(gridId).get_masterTableView(); 
        var rows = masterTable.get_dataItems(); 
        for (var i = 0; i < rows.length; i++){ 
            var row = rows[i]; 
             
            if (rowId == row.get_element().getAttribute('lineage')){ 
                alert(row.get_display()); 
                break; 
            } 
        } 
    } 


any ideas?
Martin
Telerik team
 answered on 20 Nov 2009
6 answers
162 views
Hello,

RadformDecorator with default option and v Q309 (3.111).
Under FF3, It appears that only the first button from several (3) buttons is decorated, for IE everything is Ok.
I changed the order and the first is the only decorated.

Here is the code for buttons:

            <input onclick="FullScreen()" type="button" value="MEDIA_WARNING_FULLSCREEN" id="btnFullScreen" runat="server" /> 
            <input onclick="PauseMe()" type="button" value="MEDIA_PAUSE" id="btnPause" runat="server" />   
            <input onclick="StopMe()" type="button" value="MEDIA_STOP" id="btnStop" runat="server" /> 
 

Is it a bug ?

CS
CSurieux
Top achievements
Rank 2
 answered on 20 Nov 2009
1 answer
136 views
Hi there!

I have a RadGrid which have pagesize of 15 (15 records in an index),
I used: 
    

var

 

summaryGridView = $find('<%= RadGrid1.ClientID %>').get_masterTableView();

 

var

 

rownum = parseInt(getQuerystring("rowindex"));

 

summaryGridView.selectItem(rownum);

..and it works fine if the row is in pageindex 1, but If I want to dynamically select records from index 2 and above it doesn't work.

Hope I can find solution, Many Thanks!!


Regards,

Reynald.

Shinu
Top achievements
Rank 2
 answered on 20 Nov 2009
1 answer
197 views

Hello ,

I'm  currently testing Telerik RadGrid control by creating a wrapper class.I’m facing an issue for  auto genration of columns in RadGridView with coustom prefix tag .


Here are the steps ,what I have done for testing the control.


1.Have created wrapper of all grid related classes such as RadGrid,RadGridDesigner,20 classes under <columns>  and two classes of DetailTables with Prefix "HC" .
2. Have used the <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> in page directive of aspx page.
3.Drag the HCGridView control from the ToolBox and drop inside the aspx page.
4.Below codes are auto generating  when I assign the XmlDatasource to HCGridView .

<HC:HCGridView ID="HCGridView1" runat="server"

                        DataSourceID="XmlDataSourceCulture" GridLines="None" HelpId=""

                        SecurityApplied="False">

                        <MasterTableView AutoGenerateColumns="False"

                              DataSourceID="XmlDataSourceCulture" HelpId="">

                              <RowIndicatorColumn>

                                    <HeaderStyle Width="20px" />

                              </RowIndicatorColumn>

                              <ExpandCollapseColumn>

                                    <HeaderStyle Width="20px" />

                              </ExpandCollapseColumn>

                              <Columns>

                                    <telerik:GridBoundColumn DataField="id" HeaderText="id" SortExpression="id"

                                     UniqueName="id">

                                </telerik:GridBoundColumn>

                                <telerik:GridBoundColumn DataField="name" HeaderText="name"

                                     SortExpression="name" UniqueName="name">

                                </telerik:GridBoundColumn>

                                <telerik:GridBoundColumn DataField="value" HeaderText="value"

                                     SortExpression="value" UniqueName="value">

                                </telerik:GridBoundColumn>

                              </Columns>

                              <EditFormSettings>

                                    <EditColumn UniqueName="EditCommandColumn1">

                                    </EditColumn>

                              </EditFormSettings>

                        </MasterTableView>

                        <ClientSettings>

                              <Selecting AllowRowSelect="True" />

                        </ClientSettings>

                  </HC:HCGridView>

Here issue is that ,it  is generating the columns under <Columns></Columns> block with the tag “ telerik” instead of “HC” .

 Below error is coming in case of remove   <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> from page directive of aspx page.

 

HCGridView - HCGridView1System.Web.HttpParseException: Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'telerik.web.ui.gridboundcolumn' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. ---> System.Web.HttpParseException: Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'telerik.web.ui.gridboundcolumn' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. ---> System.Web.HttpException: Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'telerik.web.ui.gridboundcolumn' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'. at System.Web.UI.CollectionBuilder.GetChildControlType(String tagName, IDictionary attribs) at System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) at System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseInternal() at System.Web.UI.TemplateParser.Parse() at System.Web.UI.DesignTimeTemplateParser.ParseControlsInternal(DesignTimeParseData data, Boolean returnFirst) at System.Web.UI.DesignTimeTemplateParser.ParseControl(DesignTimeParseData data) at System.Web.UI.Design.ControlSerializer.DeserializeControlInternal(String text, IDesignerHost host, Boolean applyTheme) at System.Web.UI.Design.ControlParser.ParseControl(IDesignerHost designerHost, String controlText, Boolean applyTheme) at System.Web.UI.Design.ControlDesigner.CreateClonedControl(IDesignerHost parseTimeDesignerHost, Boolean applyTheme) at System.Web.UI.Design.ControlDesigner.CreateViewControl() at System.Web.UI.Design.ControlDesigner.CreateViewControlInternal() at System.Web.UI.Design.ControlDesigner.get_ViewControl() at Telerik.Web.Design.RadGridDesigner.get_Grid() at Telerik.Web.Design.RadGridDesigner.GetDesignTimeHtml(DesignerRegionCollection regions) at System.Web.UI.Design.ControlDesigner.GetViewRendering(ControlDesigner designer)

How to  Auto Generate Columns of all tags with “HC”

Thanks

-Satya


Tsvetoslav
Telerik team
 answered on 20 Nov 2009
1 answer
101 views
Hi Telerik Team,

hi friends, im opening as popup using radopen function in javascript.
ex:-
var radOpenPopUp = radopen("http://clients.mindbodyonline.com/ws.asp?studioid=3366&stype=-9",null);
 //var opn = window.open("http://clients.mindbodyonline.com/ws.asp?studioid=3366&stype=-9")
  radOpenPopUp.setSize(900,400);radOpenPopUp.center();

this links open correctly in firefox, but fails to open in IE.

(i tried using the window.open this works fine in both IE and Firefox).

Can any one help me y i am facing this problem, aspd

Plz replay aspd.

Thanks
K²

Georgi Tunev
Telerik team
 answered on 20 Nov 2009
1 answer
116 views
hi i am using RadControls for ASP.NET AJAX Q1 2008
if i use RadFormDecorator i couldn't use any other Telerik Controls
Giving me Error this Error Message
Microsoft JScript runtime error:  "deleterule"  is null or not an object
Microsoft JScript runtime error:  "null"  is null or not an object
Microsoft JScript runtime error:  "removeRule"  is null or not an object
Microsoft JScript runtime error:  "null"  is null or not an object

How to solve this
Martin
Telerik team
 answered on 20 Nov 2009
1 answer
450 views
Hi

There is a requirement to manage Media Manager, Images Manager etc in RadEditor with the files located outside the web application.
Is it possible to provide either physical path or complete web path like(http://mydomain/Images) as ViewPath (or DeletePath etc).

Also I need to attach CSS in "ApplyClass" tool of editor with either physical path like("C:/MyDirectory/MyCustomCSS/MYCss.css") or the complete web path out side of web application like (http://MyDomain/MYCSS/MYCSS.css).

Please let me know the way.

Please reply soon. Its urgent.
Thanks in advance.
Rumen
Telerik team
 answered on 20 Nov 2009
1 answer
121 views
Hi,

I was wondering if it telerik has a progress bar that i can use outside the context of a upload panel?

If so could someone point me to a example or post an exmaple for me?

Stephen.
Ivo
Telerik team
 answered on 20 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?