Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
108 views
Hi,

I'm using two RadListBox to transfer items to a "preferred" group and reorder items

          <telerik:RadListBox runat="server" ID="favList" Width="250px" Height="146px" AllowTransferOnDoubleClick="true"
                              AllowReorder="true" AllowTransfer="true" TransferToID="notFavList"
                              DataSourceID="favSrc" DataKeyField="Id" DataValueField="Id" DataTextField="Title"
                              OnClientTransferring="onClientTransferring">
            <ItemTemplate><asp:Literal runat="server" Text='<%# Eval("Title") %>' Mode="Encode" /></ItemTemplate>                              
          </telerik:RadListBox>
     ...
          <telerik:RadListBox runat="server" ID="notFavList" Width="250px"
                              DataSourceID="notFavSrc" DataKeyField="Id" DataValueField="Id" DataTextField="Title">
            <ItemTemplate><asp:Literal runat="server" Text='<%# Eval("Title") %>' Mode="Encode" /></ItemTemplate>
          </telerik:RadListBox>

I can reorder items of my "favList", but when I transfer an item from  "notFavList" to "favList" and I try to reorder to move up the item  I get the following error when the item arrives on top position:
Microsoft JScript runtime error: Object required
I find the issue at this line (p.documentElement is null):
var d=function(p){return p.nodeType===9&&p.documentElement.nodeName!=="HTML"||!!p.ownerDocument&&d(p.ownerDocument);

Do you know any solution to fix or prevent this issue ?
Thanks in advance

Pedro


Pedro De Sousa
Top achievements
Rank 1
 answered on 18 May 2010
1 answer
55 views
Hello,

We are using the MOSS RadEditor 5.6.2.
We configured the editor to use the MOSSImageManger.
When we add an image the MOSSImageManager is well displayed, but when we want to modify the previously added image using the mouse's right click, the ImageManager is displayed instead of the MOSSImageManager.

Does somebody has the solution to display the MOSSImageManager?

Thanks by advance.
Regards.
Didier.

Rumen
Telerik team
 answered on 18 May 2010
1 answer
113 views
Hi
I am using version 2010 Q1 of Telerik RadEditor , I want to add the Logo of my site to any uploaded image like what is going in ebay and other site automtically. can somebody help on this ?

Regards
Rumen
Telerik team
 answered on 18 May 2010
4 answers
207 views
HI,

I am new to RadEditor Customization. Can anyone please tell me how can we implement "Watermark" using RadEditor?

Regards,
Vivek S Bhat
Rumen
Telerik team
 answered on 18 May 2010
1 answer
109 views
Hello,

For the RadEditor > Table Wizard > Accessibility tab - could you please explain what the 'Associate cells with headers' checkbox actually does? I've been unable to find any documentation explaining the purpose of the checkbox and have a client asking about it.

Thank you for your help,

David
Dobromir
Telerik team
 answered on 18 May 2010
2 answers
368 views
Hi there,

I am showing and hiding some RadGrid columns from Java script (using columns' set_visible() method) and that works perfectly as long as no client-side data binding is involved. Say I have called the set_visible(false) method for a column once (before or after data-binding). When I call set_visible(true) it shows up... but gets hidden as soon as the table view's dataBind() method is called.

See the markup below:
  1. Click the "Hide A" button and the column gets hidden;
  2. Then click the "Show A" button and the column... stays hidden;
If you remove the rebindGrid() call from the setColumnVisibility() function everything works fine.



    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false"> 
        <MasterTableView> 
            <Columns> 
                <telerik:GridBoundColumn UniqueName="ID" DataField="ID" HeaderText="ID" /> 
                <telerik:GridBoundColumn UniqueName="A" DataField="A" HeaderText="A" /> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
    <asp:LinkButton ID="BtnShowA" runat="server" Text="Show A" OnClientClick="return setColumnVisibility('A', true)" /> 
    &nbsp;/&nbsp; 
    <asp:LinkButton ID="BtnHideA" runat="server" Text="Hide A" OnClientClick="return setColumnVisibility('A', false)" /> 
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> 
        <script language="javascript" type="text/javascript"> 
            function rebindGrid() { 
                var dataItems = []; 
                for (var i = 0; i < 10; i++) 
                    Array.add(dataItems, { ID: i, A: 'A ' + i }); 
                var masterTableView = $find('<%= RadGrid1.ClientID %>').get_masterTableView(); 
                masterTableView.set_dataSource(dataItems); 
                masterTableView.dataBind(); 
            } 
            function setColumnVisibility(uniqueName, state) { 
                var masterTableView = $find('<%= RadGrid1.ClientID %>').get_masterTableView(); 
                var column = masterTableView.getColumnByUniqueName(uniqueName); 
                column.set_visible(state); 
                rebindGrid(); 
                return false; 
            } 
            Sys.Application.add_load(function () { rebindGrid(); }); 
        </script> 
    </telerik:RadCodeBlock> 
 

Best regards,
V.

Valery
Top achievements
Rank 2
 answered on 18 May 2010
2 answers
96 views
I have a grid with a Windows7 skin. I can't get the selected row class to become effective.

Thanks
Thomas
Dimo
Telerik team
 answered on 18 May 2010
1 answer
110 views
Is there any reason why the extra input elements (automatically added) on a simple textbox has the rather long style "visibility:hidden; margin:-18px; ...." when a simple "display:none" would to the trick? The problem is, that "visibility:hidden" will cause the browser to layout - and in my case create some funky forms in some browsers - where "display:none" will not cause layout.. And if the input is never used for display (is it?), why not input:hidden just then.. Css: ".rdfd_ { display: none; }" hacks this for now..

And why are there added 3 extra form fields for one textbox field - what are they used for? Seems rather hefty...

/Anders
Dimo
Telerik team
 answered on 18 May 2010
2 answers
186 views
I am getting  "Radspell error. Server returned error:500" internal server error.

I have attached a screenshot of the message.

I am getting this message only on the production environment but not the Test or Development .

Please help.

Regards.

Rumen
Telerik team
 answered on 18 May 2010
1 answer
135 views
Hi, I have the following error.
I  am customizing the RadScheduler control and am now at the part where I need to read a recurrence string and transform this in a recurre nce using recurrencepatternhelper and then using the patternhelper to set the appropriatye controls on my custom appointment radwindow.

When I try using
        Dim serializedPattern As String = "FREQ=DAILY;COUNT=10;INTERVAL=3;BYDAY=MO,TU,WE,TH,FR"
        Dim pattern As RecurrencePattern
        RecurrencePatternHelper.TryParseRecurrencePattern(serializedPattern, pattern)

I get the error saying that I sould have system.component model version 2.0.5.0 to be able to use RecurrencePatternHelper.

I have included the Telerik.Windows.Controls.Scheduler.ICalendar namespace and the System.ComponentModel namespace and am also implementing the INotifyPropertyChanged interface in the class.

Any idea what I am doing wrong and how I can solve this error. Thank you!



Swadesh Brojolall
Top achievements
Rank 1
 answered on 18 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?