Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
174 views
Hi! I tried to put a RadTooBar inside the CommandItemTemplate of RadGrid and it works perfectly in IE, Firefox, Opera and Safari, but not Chrome. Google browser instead of showing the items of the RadToolBar it doesn't show anything at all (just a little square). I tried to surraund the object with a <div> or modifying the size of it (or both), but nothing happens (the square gets bigger, but nothing inside).

I tried both 8 and 9 version of Chrome.

Here my code:

<telerik:RadGrid ID="Grid" runat="server" AutoGenerateColumns="False" ShowHeader="false"
    GridLines="None" CellPadding="0" Width="205" DataSourceID="Source">
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="ID" DataSourceID="Source">
        <CommandItemTemplate>
            <telerik:RadToolBar ID="Toolbar" runat="server" Width="100%">
                <Items>
                    <telerik:RadToolBarButton runat="server" Width="95%">
                        <ItemTemplate>
                            <telerik:RadTextBox ID="Textbox" runat="server" Width="100%"></telerik:RadTextBox>
                        </ItemTemplate>
                    </telerik:RadToolBarButton>
                    <telerik:RadToolBarButton runat="server" Value="filter" ImageUrl="~/Imgs/funnel.png"></telerik:RadToolBarButton>
                </Items>
            </telerik:RadToolBar>
        </CommandItemTemplate>
        <NoRecordsTemplate>No records!</NoRecordsTemplate>
        <Columns>
            <telerik:GridBoundColumn UniqueName="ID" DataField="ID" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Field" DataField="Nominativo"></telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings EnablePostBackOnRowClick="true">
        <Selecting AllowRowSelect="True"></Selecting>
    </ClientSettings>
</telerik:RadGrid>
Luke
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
140 views
I am working in SiteCore 6.0.2.  In the media library, I upload a flash file.  I use the Flash Manager to select and insert the media into the content and when I do, it works correctly the first time.  When I come back to edit the content, the src attribute is empty. 

Code after inserting:

<object id="myMovieName" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="630" height="209">
        <param name="_cx" value="16668" />
        <param name="_cy" value="5529" />
        <param name="FlashVars" />
        <param name="Movie" />
        <param name="Src" value="%7E/media/introduction2.ashx" />
        <param name="WMode" value="Window" />
        <param name="Play" value="-1" />
        <param name="Loop" value="-1" />
        <param name="Quality" value="High" />
        <param name="SAlign" />
        <param name="Menu" value="-1" />
        <param name="Base" />
        <param name="AllowScriptAccess" />
        <param name="Scale" value="ShowAll" />
        <param name="DeviceFont" value="0" />
        <param name="EmbedMovie" value="0" />
        <param name="BGColor" />
        <param name="SWRemote" />
        <param name="MovieData" />
        <param name="SeamlessTabbing" value="1" />
        <param name="Profile" value="0" />
        <param name="ProfileAddress" />
        <param name="ProfilePort" value="0" />
        <param name="AllowNetworking" value="all" />
        <param name="AllowFullScreen" value="false" />
      </object>

When I come back to edit the content, the code changes to:

<object id="myMovieName" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="630" height="209">
        <param name="_cx" value="16668" />
        <param name="_cy" value="5529" />
        <param name="FlashVars" />
        <param name="Movie" />
        <param name="Src" />
        <param name="WMode" value="Window" />
        <param name="Play" value="-1" />
        <param name="Loop" value="-1" />
        <param name="Quality" value="High" />
        <param name="SAlign" />
        <param name="Menu" value="-1" />
        <param name="Base" />
        <param name="AllowScriptAccess" />
        <param name="Scale" value="ShowAll" />
        <param name="DeviceFont" value="0" />
        <param name="EmbedMovie" value="0" />
        <param name="BGColor" />
        <param name="SWRemote" />
        <param name="MovieData" />
        <param name="SeamlessTabbing" value="1" />
        <param name="Profile" value="0" />
        <param name="ProfileAddress" />
        <param name="ProfilePort" value="0" />
        <param name="AllowNetworking" value="all" />
        <param name="AllowFullScreen" value="false" />
      </object>

With Sitecore, it is linking the src attribute as a .ashx file.   Do you have any workarounds?  I am assuming the src parameter is not kept as the item is not a .swf, but the .ashx, returns the swf file.

Thanks,
Andy
Rumen
Telerik team
 answered on 16 Feb 2011
3 answers
158 views
I am using a RadMenu at the top of my Master Page and all works fine, however, I want to have a section that has no text and spans to the end of the page kind of like the ibm.com website.  If you notice on the IBM.com website, first there are a few drop down menu buttons and as you go further to the right, there is a blank space that spans pretty wide until the IBM Sign In/Register text menu.  How do I do that with a RadMenu so that it spans across the entire page?
Kate
Telerik team
 answered on 16 Feb 2011
2 answers
345 views
Hi:

I have  a RadComboBox that is using an ItemTemplate.
<telerik:RadComboBoxItem Value="0" Text="Report 1" ReportName="Report 1" About="Select product(s) and view details" Dir="/Invent/" Prompts="False"></telerik:RadComboBoxItem>

I was hoping to use this as a repository per my reports.  Is there a way to get to the various attributes.

Phil
Phil
Top achievements
Rank 2
 answered on 16 Feb 2011
5 answers
146 views
Hi,

I have Windows Vista Ultimate SP1 and VS 2008.
I had successfully installed Telerik 2009 Q3, but when I run Live Example Rad Control, page shows "sys is undefined" JS error and all of controls shows like a lot of bullet.
I tried all of related solutions in this forum but the problem is still exist.
In the other hand I have the same problem when I use controls in VS2008.
It seems very unusual :-)
Any ideas?
Rumen
Telerik team
 answered on 16 Feb 2011
4 answers
127 views
Hi,

How can I show Ajaxloading panel on tabclick.? I am setting the  content  url of of each page view  on tabclick event and its takes around 1 minute to render it.
Any idea?

Thanks
Prava

Veronica
Telerik team
 answered on 16 Feb 2011
2 answers
270 views
Hi!

I have an issue that I can not seem to find a solution for in the forum. When using the grid and select 7 out of 10 check boxes if I happen to click anywhere on a row outside the check box then all 7 selections deselect. How can I change this functionality so that any previously selected check boxes stay enabled?

I'm using Visual Studio 2010 with the Telerik ASP.NET AJAX (v.2010.3.1215.35) controls.

I have followed the example provided in the forum post cancel OnRowSelecting when clicked outside clientselect checkbox

The logic works in that I can only enable a check box by clicking directly in the check box and not any where else in the row.  However, when I try to get a count of the selected items I always get a value of 0.  In the code behind here is how I'm trying to get a count when the user clicks a 'submit' button...
If (RadGrid1.SelectedItems.Count > 0) Then
    For Each item As GridDataItem In RadGrid1.SelectedItems
        selectedWriters.Add(item("UserID").Text)
    Next
Else
    lErrorMsg.Text = "You must select at least on Writer."
    Return
End If

Could someone please provide some insight as to why I am unable to get a count, or if there is a better/different solution I should try?
Thank you!!
Amy
Top achievements
Rank 1
 answered on 16 Feb 2011
2 answers
96 views
Can we disable fill position when docking a toolwindow on raddock. 

Namely, we want a toolwindow to dock to those postions: top, bottom, left, right and also float on any position.
but we do not want a toolwindow to dock to a fill position,
Ming Zhao
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
128 views
I have a RadMenu with all items, and multiple levels of sub-items, populated by a webmethod. IE8 is perfect, and the tree is working as it should, all items are correctly fetched and placed, etc. The same goes for Firefox - as long as you take your time and allow menus to expand fully, etc, though performance is noticeably slower than in IE8.

The problem I have is if I click on an item that has started to fetch its child items - I get an error saying that the "The server method 'xxx' failed". This only occurs in FF - IE handles cancellation of the Web method perfectly.

I tried the following to intercept and catch any error raised in the fetch like this :
I set  

OnClientItemPopulationFailed="javascript:supressErrors();"

in the RadMenu control, then included this script in the page

   <script language="javascript" type="text/javascript">
       function supressErrors(sender, eventArgs) {
           eventArgs.set_cancel(true);
       }</script>

But in both browsers, this prevents any webservice calls, and I don't even get the > (right arrow) on the root items.

Anyone come across this before? 
Andrew
Top achievements
Rank 1
 answered on 16 Feb 2011
1 answer
239 views
Is it possible (or recommended) to use both Telerik MVC controls and Telerik Asp.net Ajax Radcontrols in the same MVC3 / EF 4 application?

I just noticed that the rad controls offer a lot more controls (nice!) - just wondering how one would go about using those also with the Telerik MVC controls.

If not recommended - are there plans to port the Rad Controls to your Telerik MVC Controls framework?

Sebastian
Telerik team
 answered on 16 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?