Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
1.2K+ views
Hello Team,

I want to find telerik radnumerikbox in javascript on pageload and set the focus. I can't able to find the Id of element in javascript .

<script type="text/javascript" >
       function pageLoad(sender, args) {
           try {
               $find("<%# txtDay.ClientID %>").focus();
           }
           catch (e) {
           }
       }
</script>

For this I did the above code but its not working.

Please help me.

 
Plamen
Telerik team
 answered on 09 Jan 2012
3 answers
105 views
Hi,

We are for several reasons using the editor in Div-mode. But now we can't get the StripFormattingOptions=ConvertWordLists to work when using Firefox 4 (it does nothing). It seems to work OK in IE9. We are also using the StripFormattingOptions=MSWord and that doesn't seems to work either...

In Iframe mode this works as expected.

Regards
Caesar
Rumen
Telerik team
 answered on 09 Jan 2012
4 answers
106 views
One of my web page i am using RadPanelbar my problem is if the content exceeds the height of RadPanelItem's ContentTemplate
ScrollBar Doesn't appear
i set
ExpandMode="FullExpandedItem"
but still the scrollbar not appearing
iam using 2011 Q2 control
is this problem fixed in Q3
or how to solve this problem
Kate
Telerik team
 answered on 09 Jan 2012
3 answers
89 views
I'm not sure what the cause is, I've set the maxRequestLength and maxAllowedContentLength well above 100MB.

I have a method that hides the RadUpload control once the file is successfully uploaded.  However if I upload a file over 1 MB the file is not uploaded and the control is not hidden.
Kate
Telerik team
 answered on 09 Jan 2012
3 answers
90 views
Hello Every one !
i have two reports , 1- contracts list and 2- contract detail , now i want that if i click on the contract id the 2nd report contract detail will open , i used action property of the column contract id , but i cant able to get the value of that clicked cell , i want contract id so that i can pass it as a parameter to my 2nd report , it is very urgent , please give me solution or guide to solve this issue , Thanks in advance , and sorry for my bad english :(

Best Regards

M.Waqas Aslam
Peter
Telerik team
 answered on 09 Jan 2012
1 answer
96 views
Hello,

Appointment click event is not firing when AllowEdit="False".Iam trying to open Rad Window by click on Appointment.But Appointment click event is not firing if i set Allow Edit="False". Can anyone please update me asap

Thanks And Regards
N.Vishnu Vardhan Reddy
Peter
Telerik team
 answered on 09 Jan 2012
4 answers
138 views
At runtime, when a user drag and drops any column they wish to group by, is there a way to show on the group header row, next to the label that says the column name, the count of items or rows that the group contains?    I see in the examples how to use aggregation to show counts in the group header using declarative and programmatic methods but they all seem to apply to grouping that was declaratively or programmatically defined, not grouping defined by the user at runtime in an ad hoc manner.
MARK
Top achievements
Rank 1
 answered on 09 Jan 2012
3 answers
98 views
So I have a rad grid where I delete a file using the delete command. It works fine on my test site but when I put it up on our live server and click delete, I just get an object reference not set error. I can't figure out why and have even commented out enough of my code as I was just trying to write the file name being passed in. Do you have any idea why this would work fine on the test site, but then break on the live site? I can provide a full site backup if you want, but here is the relevant code.

asp
<telerik:RadGrid ID="drawingsGrid" runat="server" AllowPaging="True" GridLines="None"
                        DataSourceID="drawingsSqlDataSource" AutoGenerateColumns="False"
                    Skin="Telerik">
                        <MasterTableView DataKeyNames="drawingId,productId,pathToPDF"
                            AllowAutomaticDeletes="True" DataSourceID="drawingsSqlDataSource">
                            <RowIndicatorColumn
                                Visible="False">
                                <HeaderStyle Width="20px"></HeaderStyle>
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn
                                Visible="False" Resizable="False">
                                <HeaderStyle Width="20px"></HeaderStyle>
                            </ExpandCollapseColumn>
                            <Columns>
                                <telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name" UniqueName="Name">
                                    <HeaderStyle ForeColor="#336600"
                                        Height="23px" Width="200px" />
                                </telerik:GridBoundColumn>
                                <telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this drawing? "
                                    CommandName="Delete"
                                    Text="Delete" UniqueName="columnDelete">
                                    <HeaderStyle ForeColor="White"
                                        Height="23px" Width="50px" />
                                    <ItemStyle BorderWidth="1px" />
                                </telerik:GridButtonColumn>
                            </Columns>
                            <EditFormSettings>
                                <PopUpSettings ScrollBars="None" Width="200px" Height="200px"/>
                            </EditFormSettings>
                        </MasterTableView>
                        <HeaderStyle ForeColor="#336600" />
                    </telerik:RadGrid>



Edit* I should mention that I have verified the sp getDrawing is returning the same items on my dev site as the live site and those files do exist.



vb
Sub On_Record_Deleted(ByVal source As Object, ByVal e As SqlDataSourceStatusEventArgs)
      If (e.AffectedRows > 0) Then
 
          Response.Write(pdfFileToDelete)
 
          'If Not String.IsNullOrEmpty(pdfFileToDelete) Then
          '    Try
          '        File.Delete(Server.MapPath(pdfFileToDelete))
          '    Catch ex As Exception
          '        msgLabel.Text = ex.ToString
 
          '    End Try
          'End If
      End If
  End Sub
Mira
Telerik team
 answered on 09 Jan 2012
4 answers
105 views
the space of EditForms generates the VirtualScrollPaging 
The editForm close.
 
Lasly
Top achievements
Rank 1
 answered on 09 Jan 2012
3 answers
211 views
i have a treeview. I'd like to hide the expand/collapse image on the root node. I tried the following:

function pageLoad()  
        {
            var treeView = $find("<%=TreeView1.ClientID%>");  
            var node = treeView.get_nodes().getNode(0);  
            var toggleElement = node.get_toggleElement();  
            if (toggleElement)  
            toggleElement.style.display = "none";
        }


and this works, however the tree nodes still have a large amount of space to their left where the expand/collpase image would have been. Is there any way to get the root node to left justify against the left edge of the treeview in this case?
Kate
Telerik team
 answered on 09 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?