Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
195 views
I've just upgraded to the new q2 ajax tools and now my rotator is changing its background from transparent to white! i don't know what is going on. the first slide loads transparent just fine... but then when it skips to the next frame, the background is white!

and it's weird because 1) it doesn't do this i firefox at all, and 2) i cannot locate what element has this background. I tried firebug and IE Developer toolbar and there doesn't appear to be any element with a white background. in fact I cannot event find the element that is the size of that white background, so I have no idea where it's coming from!!

any ideas as to what is wrong here?
Jack
Top achievements
Rank 2
 answered on 15 Oct 2008
2 answers
107 views
Hello,

is it possible to have GridColumn Visible="false", but be able to get its value with client code? Or what else i can do in order to hide the column but be able to access the data. I tried

<ItemStyle Width="0px" /> 
<FooterStyle Width="0px" /> 
<HeaderStyle Width="0px" /> 

but column is still visible

Thanks in advance
Aris
Top achievements
Rank 1
 answered on 15 Oct 2008
1 answer
103 views
Hey...

I'm trying to check the silder control and I need to set / get the values of the MaximumValue, MinimumValue & SlideStep in client side.

I coudn't find any example how to access these properties from client side.

Can you please send me some information ?

Itamar
Svetlina Anati
Telerik team
 answered on 15 Oct 2008
1 answer
94 views
is there a VisualStyleBuilder for asp.net ajax rad controls?

Peter
Telerik team
 answered on 15 Oct 2008
1 answer
98 views
hi, 

When i select the FirstDayOfWeek, and LastDayOfWeek, it lets out the other days in the week and month view, but not in the timeline view.

Is there a way to also let out the other days in the timeline view aswell?


Hope you can help me,


Mike
Peter
Telerik team
 answered on 15 Oct 2008
2 answers
378 views
Standard ASP.NET controls are greyed out when being disabled. RadControls, however (e.g. RadDatePicker or RadNumericTextBox) are not greyed out.
The problem is that when we have a couple of "traditional" controls and a couple of Telerik controls in one page and all of them has to be disabled, than page looks very inconsistent - all fields are disabled, but only some of them are grey.

Does anyone know how to make RadControls grey when disabled?
Paweł
Top achievements
Rank 1
 answered on 15 Oct 2008
5 answers
213 views
Hello,

I am using a RadGrid who's DataSource is a MySqlDataReader and the query is built based on POST's so although I can set the Column Headers, there is no data at design-time.

I want to be able to setup a couple of Aggregates so that when a user groups by a column it sum's a particular value.

I was hoping to do something like (in C#):

RadGrid1.Columns[1].Aggregate = <aggregate>.Sum;

but I cannot get to the Aggregate property.

Any ideas?

Thanks,

Andy
Andy
Top achievements
Rank 1
 answered on 15 Oct 2008
0 answers
154 views
Hi,


I'm generating a treeview in page.


Sub treevwgeneration()
            Dim objDS As New DataSet
            If Session("sesRole") = 2 Then
                strsql = "select customernum,customername from CRPDM_customer"
                strsql = strsql & " select projectnum,customernum,projectname from CRPDM_project "
            ElseIf Session("sesRole") = 3 Then
                strsql = "select customernum,customername from CRPDM_customer where customernum =" & Session("sesCustNum")
                strsql = strsql & " select projectnum,customernum,projectname from CRPDM_project where customernum =" & Session("sesCustNum")
            ElseIf Session("sesRole") = 1 Or Session("seslogin_userrole") = 0 Then
                strsql = "select customernum,customername from CRPDM_customer where customernum in(select distinct customernum from CRPDM_allowedprojects where usernum=" & Session("sesUsrNum") & ")"
                strsql = strsql & " select projectnum,customernum,projectname from CRPDM_project where customernum in(select distinct customernum from CRPDM_allowedprojects where usernum=" & Session("sesUsrNum") & ")"
            End If

            objDS.Clear()
            objDS = sa.conn(strSqlConnectionString, strsql, "select", lblMsg)
            objDS.Tables(0).TableName = "dtcust"
            objDS.Tables(1).TableName = "dtproj"
            If objDS.Tables(0).Rows.Count = 0 And objDS.Tables(1).Rows.Count = 0 Then
                lbl_msg.Text = "Not yet allocated to any Phase."
            Else
                objDS.Relations.Add("custtoproj", objDS.Tables("dtcust").Columns("customernum"), objDS.Tables("dtproj").Columns("customernum"))
                Dim rowcust, rowProj As DataRow
                Dim firstcust, firstproj As String
                'Dim nodecust As New TreeNode
                'Dim nodeProj As New TreeNode
                'Dim nodedoc As New TreeNode
                'Dim nodemsg As New TreeNode
                'Dim nodeiss As New TreeNode

                firstcust = objDS.Tables("dtcust").Rows(0)("customernum")
                firstproj = objDS.Tables("dtproj").Rows(0)("ProjectNum")
                For Each rowcust In objDS.Tables("dtcust").Rows
                    nodecust = New RadTreeNode
                    nodecust.Text = rowcust("customername")
                    nodecust.Value = rowcust("customernum")
                    tvwReports.Nodes.Add(nodecust)
                    If nodecust.Value = firstcust Then
                        nodecust.Expanded = True
                    End If
                    For Each rowProj In rowcust.GetChildRows("custtoproj")
                        nodeProj = New RadTreeNode
                        nodeProj.Text = rowProj("ProjectName")
                        nodeProj.Value = rowProj("Projectnum")
                        nodecust.Nodes.Add(nodeProj)
                        If nodeProj.Value = firstproj Then
                            nodeProj.Expanded = True
                            tvwReports.Nodes.Item(0).Selected = True
                            tvwReports.SelectedNode.Visible = True
                        End If
                        ''''''''''''''''''''
                        nodedoc = New RadTreeNode
                        nodemsg = New RadTreeNode
                        nodeiss = New RadTreeNode

                        nodedoc.Text = "Documents"
                        nodedoc.Value = 0
                        nodeProj.Nodes.Add(nodedoc)

 

                        nodemsg.Text = "Messages"
                        nodemsg.Value = 1
                        nodeProj.Nodes.Add(nodemsg)

                        nodeiss.Text = "Tickets"
                        nodeiss.Value = 2
                        nodeProj.Nodes.Add(nodeiss)
                    Next
                Next
            End If

        End Sub




O/p is like this

Polypore
   Lclite
        Messages
        Documents
        Tickets

 Node Click event :

Protected Sub tvwReports_NodeClick(ByVal o As Object, ByVal e As Telerik.WebControls.RadTreeNodeEventArgs) Handles tvwReports.NodeClick
            tvselindex()
            tvwReports.Nodes.Clear()
            treevwgeneration()
        End Sub

        Sub tvselindex()
            Try
                ddlIssues.SelectedValue = 0

                selnode = tvwReports.SelectedNode.UniqueID
                selind = Split(selnode, ":t")
                Session("treenode") = tvwReports.SelectedNode.Text

                If UBound(selind) = 3 Then
                    'chtReport.Visible = True
                    dgReports.Visible = True
                    Dim objds As New DataSet
                    Dim intChkVal As Integer = tvwReports.Nodes(selind(1)).Nodes(selind(2)).Nodes(selind(3)).Value
                    ViewState("cus_num") = tvwReports.Nodes(selind(1)).Value
                    cus_num = ViewState("cus_num")
                    ViewState("pro_num") = tvwReports.Nodes(selind(1)).Nodes(selind(2)).Value
                    pro_num = ViewState("pro_num")
                    ' chtReport.Visible = True
                    dgReports.Visible = True
                    strsql = ""
                    If intChkVal = 0 Then
                        'builddocchart()
                        strsql = "select Cu.customerName[Customer],Pr.ProjectName [Project],Ph.Phasename [Phase],SPh.SubPhasename [Subphase],Cd.Docname [Document],left(Cd.senddate,11) [Send Date],U.UserId [From] from CRPDM_customerdoc cd left join CRPDM_customer Cu on cd.customernum=cu.customernum left join CRPDM_Project Pr on cd.projectnum=Pr.projectnum left join CRPDM_Phase Ph on cd.Phasenum=Ph.phasenum left join CRPDM_Subphase SPh on cd.SubPhasenum=Sph.subphasenum left join CRPDM_usersecurity U on cd.ownernum=U.usernum where cd.customernum=" & cus_num & " and cd.projectnum=" & pro_num & " and cd.docname is not null"
                        bindgriddoc(strsql)

                                    Else
                    lblMsg.Text = "Please Select  documents/messages/tickets to view reports"
                    '' lblmsg.Visible = True
                    'chtReport.Visible = False
                    dgReports.Visible = False
                End If
                tvwReports.SelectedNode.ToolTip = tvwReports.SelectedNode.Text
                tvwReports.SelectedNode.Selected = True

 
            Catch ex As Exception

            End Try
        End Sub



Now my problem is if i click the any child node under Lclite..

the node is invisible...but the value is there. 

pls give me any suggestion for this problem....

Thanks ,
Regards,
Devipriya A.K.

Devi
Top achievements
Rank 1
 asked on 15 Oct 2008
5 answers
103 views
I have tried every possible way and every possible attribute - I even write the childs by hand - but I have not managed yet to see any child at all!
Any ideas on what is going wrong?
Thank you.
Stavros
Top achievements
Rank 1
 answered on 15 Oct 2008
1 answer
127 views
I already set the date format of the date input to "dd/MM/yyyy HH:mm", but some user may type in "dd/MM/yyyy HHmm" or "ddMMyyyy HH:mm" instead of using the calander and timeview, so it is invalid. 

Do you have any suggestion to cope with this problem?

Can I force the user to input a specific format of datetime by typing? I mean can the DateTimePicker already contains the separator "/ / :" and if the user only need to type in the number to represent the datetime?
Daniel
Telerik team
 answered on 15 Oct 2008
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?