Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
126 views
Hello,

I am using RadControls for ASPNET AJAX Q1 2009 and I am unable to set the height of a rad window above about 200. I tried setting it in the properties window and through JavaScript without success. Setting the width to a large amount(ie. 500) works fine. The rad window displays a dynamically created tree.

Thanks,

John
John
Top achievements
Rank 1
 answered on 16 Jun 2009
1 answer
64 views

I have a page with a treeview and many other controls. When you click on a node in the treeview a section of the page is reloaded with a different control or in some cases the same control. The page has always worked in Firefox and IE prior to the 2009.1 527 build. Now it only works in IE.  It appears that treeview events or something else with the RadControls are causing Firefox to work differently then before. When debugging the code it appears the controls are not reloaded in Firefox but are in IE.  

 

I went back and used the order version (2009.1 402) which worked just fine… The real odd thing is I tried the latest internal build of 2009.1 609 and it worked too. However, I don’t see anything in the Release Notes about this type of a fix.

 

Let me know if there is something I can do with the 2009.1 527 versions to make it work instead of waiting for the next production build.

Atanas Korchev
Telerik team
 answered on 16 Jun 2009
1 answer
85 views
Is it possible to render a usercontrol within a RadEditor document?

I typically create usercontrols for my RadGrid (ItemTemplate) to display data.  My users would like to put that same data in a document they create.  Could I programmatically simply add into the document a correct reference to the control?  Or could i extract from a copy of the UserControl the outputted HTML and insert that into the RadEditor document?
Rumen
Telerik team
 answered on 16 Jun 2009
3 answers
305 views
when I type 30 i get: 30.00. How can I leave it 30?
Iana Tsolova
Telerik team
 answered on 16 Jun 2009
1 answer
69 views
Hi Folks.
Its been a havoc with Rad Controls coz i face lot of problems in a day.
The Problem was that while Debugging the Project file i mean in the visual studio environment everything works fine.
However if i publish that to my Default iis Website am getting the Page But could not open the Rad Drop Down if i select that.
I Thought there are many Reasons for it and i have even Tried To Troubleshoot one by one
a)Folder permissions or Security-Checked correctly
b)Checking the Code whether the Rad Combo has items -Checked by (Response.Write(RadCombobox1.Items.Count));
c)No IIS Problem.
d)Checked the Browser Settings
Another Error i encounter in the Same Scenario it is that
Actually i have a Textbox and Button where i add the Values to the RadCombo he JavaScript of it is as follows.
function AddNewItem() { 
              
             var combo = $find("<%= RadComboBox2.ClientID %>"); 
             
             var intextput = document.getElementById("addmodule").value; 
             
             var comboItem = new Telerik.Web.UI.RadComboBoxItem(); 
             comboItem.set_text(intextput); 
             combo.trackChanges(); 
             combo.get_items().add(comboItem); 
             comboItem.select(); 
             combo.commitChanges(); 
             comboItem.scrollIntoView(); 
             document.getElementById('addmodule').style.display = 'none'
             document.getElementById('Additem').style.display = 'none'
         } 

Now am Getting The  Runtime Error in The First Line in ie while Trying to Debug it took me to VS 2008 environment with iexplore.exe.
Strange thing is that While Debugging  my code happens like this and Shows Error "Not Defined"
  function AddNewItem() { 
             var combo = $find("RadComboBox1"); 
             
             var intextput = document.getElementById("addmodule").value; 
             
             var comboItem = new Telerik.Web.UI.RadComboBoxItem(); 
             comboItem.set_text(intextput); 
             combo.trackChanges(); 
             combo.get_items().add(comboItem); 
             comboItem.select(); 
             combo.commitChanges(); 
             comboItem.scrollIntoView(); 
             document.getElementById('addmodule').style.display = 'none'
             document.getElementById('Additem').style.display = 'none'
         } 
Can you see the difference.
Plz Help me to Solve this probs as it is a ShowStopper for my proj.
Thanks
Regards
N.Balaji



Atanas Korchev
Telerik team
 answered on 16 Jun 2009
4 answers
208 views
I was wondering how it would be possible to use pure client-side population of the scheduler, or if it is possible.  What I envision is changing the view (whether the month, etc), and having a way of firing off a javascript event that shows what the new visible start and end date/time is, then using that to spawn off a webservice call and then iterating through the results and calling the insertAppointment method on the scheduler.

I imagine this would show quite the increase in performance vs using callbacks since the problem with callbacks is that they still have to include the viewstate during that callback. 

My problem is that I'm on a page that sits around 120kb total size so that passes back and forth a few times and things get pretty slow.  It would be so much cleaner to ask for only what I needed to update (the scheduler) so my response object would be 1kb or thereabouts (at most), and the response might be 20kb.

Thoughts?
Atanas Korchev
Telerik team
 answered on 16 Jun 2009
6 answers
196 views
I am using the RadEditor MOSS in a WSS only scenario. I tried to change the skin of the editor to Office2007 but that did not display correctly (most of the toolbar images  could not be found. I also could not find any skin folders (shoud there be any?) and aI m not sure if skinning is supported in this scenario or what skins are available to use.

For your information, the following directory structure is installed on my server under C:\Program Files\Common Files\Microsoft Shared\web server extensions:

wpresources
|--  RadEditorSharePoint
          |-- 5.1.0.0.__1f131a624888eeed
                   |-- Resources
                           |-- App_Data
                           |          |-- RadSpell
                           |-- App_GlobalResources
                           |-- ToolImages

Can you be of help on this topic?
Stanimir
Telerik team
 answered on 16 Jun 2009
3 answers
170 views
Hello team,

I've got a RadGrid containing a NestedViewTemplate with a FormView to modify data in every row.
I need to add a Row to the Radgrid, the row should be expanded and the contained FormView should be in insert mode to add a new entry. How can I do this?

Have a look at my current approach:

<telerik:RadGrid ID="RadGrid1" Skin="WebBlue" runat="server" DataSourceID="dsSelectDirectoryScan"
        GridLines="None" OnItemCommand="RadGrid1_ItemCommand" OnPageIndexChanged="RadGrid1_PageIndexChanged">
        <HeaderContextMenu>
            <CollapseAnimation Duration="200" Type="OutQuint" />
        </HeaderContextMenu>
        <MasterTableView AutoGenerateColumns="False" DataSourceID="dsSelectDirectoryScan" DataKeyNames="DirectoryID">
            <Columns>
                <telerik:GridBoundColumn DataField="SenderCompany" HeaderText="SenderCompany" ReadOnly="True"
                    SortExpression="SenderCompany" UniqueName="SenderCompany">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SenderName" HeaderText="SenderName" ReadOnly="True"
                    SortExpression="SenderName" UniqueName="SenderName">
                </telerik:GridBoundColumn>
                
                <telerik:GridBoundColumn DataField="ReceiverCompany" HeaderText="ReceiverCompany"
                    ReadOnly="True" SortExpression="ReceiverCompany" UniqueName="ReceiverCompany">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ReceiverName" HeaderText="ReceiverName" ReadOnly="True"
                    SortExpression="ReceiverName" UniqueName="ReceiverName">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ScanPath" HeaderText="ScanPath" SortExpression="ScanPath"
                    UniqueName="ScanPath">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="TransferType" HeaderText="TransferType" SortExpression="TransferType"
                    UniqueName="TransferType">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PackageType" HeaderText="PackageType" SortExpression="PackageType"
                    UniqueName="PackageType">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Mode" HeaderText="Mode" SortExpression="Mode"
                    UniqueName="Mode">
                </telerik:GridBoundColumn>
            </Columns>
            <NestedViewTemplate>
            <asp:FormView runat="server" ID="fvDirectoryScanDetails" DataSource="dsDirectoryScanDetails" >
              <ItemTemplate>
                    <asp:TextBox runat="server" ID="txtTest" Text="This is a cool test"></asp:TextBox>
              </ItemTemplate>
              <EditItemTemplate>
                    <asp:TextBox runat="server" ID="txtTest" Text="This is a cool test"></asp:TextBox>
              </EditItemTemplate>
              <InsertItemTemplate>
                    <asp:TextBox runat="server" ID="txtTest" Text="This is a cool test"></asp:TextBox>
              </InsertItemTemplate>
            </asp:FormView>--%>
            <asp:FormView ID="fvDirectoryScanDetails" DataKeyNames="DirectoryID" runat="server" DataSourceID="dsDirectoryScanDetails" OnDataBound="fvDirectoryScanDetails_DataBound" OnItemUpdating="fvDirectoryScanDetails_ItemUpdating" OnItemUpdated="fvDirectoryScanDetails_ItemUpdated" OnItemInserted="fvDirectoryScanDetails_ItemUpdated">
            <EditItemTemplate>              
                       ...many things here...                   
            </EditItemTemplate>
            <InsertItemTemplate>
                ...many things here...
            </InsertItemTemplate>
            <ItemTemplate>
                              ...many things here...
            </ItemTemplate>
        </asp:FormView>
            
            </NestedViewTemplate>
            <ExpandCollapseColumn Visible="True">
            </ExpandCollapseColumn>
        </MasterTableView>
        <FilterMenu>
            <CollapseAnimation Duration="200" Type="OutQuint" />
        </FilterMenu>
    </telerik:RadGrid>

Thanks,

Joachim
Joachim
Top achievements
Rank 1
 answered on 16 Jun 2009
6 answers
149 views
I have a client that posts many new photos each day. (Last year they uploaded 2500 new photos.) Obviously the image manager can't or shouldn't try to list 2500 photos at once, plus, the client only needs to choose from the last few uploaded photos anyways.

So I would like to implement the following: 

Afetr the client uses radUpload to upload the 10-20 photos for the day, he/she goes to the editor and clicks the image manager which displays only the most recent 50 photos uploaded. 

Could anyone take a stab at how I would restrict the image manager to listing only the newest 50 images?
Sergio Henrique Antunes
Top achievements
Rank 1
 answered on 16 Jun 2009
8 answers
471 views
Hello;

I did a small project and I use the template exam. It works fine. However I want to use the same in my real project and I took this error message.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.

I search in google and this forum and I cant find any answer. I receive this error on double-click on the scheduler.

Thanks...
Atanas Korchev
Telerik team
 answered on 16 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?