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

Now i'm not sure if there's a solution for this particular problem.

Scenario; Client has a site(a) in which they want to embed sections from the site i'm developing, site(b).
To enable them to do so i'm providing them with some iframe markup to put into their CMS.

The problem being, that some of the pages they're embedding have radwindows in, and these RadWindows are wider than the size of the iframe the page is contained within.

Try try and resolve this i made the iframe larger than the actual content, and overlay some of their content on site(a), using a transparent background on the iframe. This allowed my RadWindow sufficient space.

However, what i had overlooked is if there's any content underneath the iframe, such as links etc, they're no longer accessible because the iframe is above them .

So i guess my question would be; is there a solution for this ? I guess what i need is the RadWindow to open independantly so its not restricted by the size of the iframe it's in. However, i also need it to be able to interact with the page at which it is called from (i use the closeandrebind event for radgrid/window).

Any suggestions welcome,

Alan
Alan T
Top achievements
Rank 1
 answered on 23 Feb 2012
12 answers
545 views

Is it possible to allow end user to upload multiple images using AsyncUploaded to the temporyfolder and display those temporary file images via RadBinaryImage (IE in a repeater or listview etc) allowing user to preview those images before submitting the images to the filesystem or database.

Note that the end user might upload one image at a time or mutiple images at once to the form and even remove images before finally hitting the submit button to move the previewed uploaded files from the temporary location to the filesystem or database.

If so how and is there an example somewhere?

Thanks

Glenn
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
207 views
I have a radgrid that I need to be about 40 px wide. Is there anyway to change the width of the filter textbox? It's too big and pushes the filter button out anyways. See my attachment for a better explanation.
Casey
Top achievements
Rank 1
 answered on 23 Feb 2012
4 answers
427 views
I need to get the number of items being filtered in the drop down? Is this possible?

Duncan
Duncan
Top achievements
Rank 2
 answered on 23 Feb 2012
1 answer
88 views
I have a simple radgrid that is attached to a SQL database table whose scheme I am not able to alter. There are a number of fields that do not allow NULLS in the database but for my purposes I can allow NULLS for certain fields.
My question is, what is the best way to handle this? there are probably a dozen fields in this grid and the majority are simply text boxes. My first thought was that when the update command is fired to loop through all of the controls to check if they are NULL and if they are to simply make them pass a space. My problem is I am not sure how to do this easily. 
Can anyone think of a better way to do this? 
Thank you 
Adam 
Elliott
Top achievements
Rank 2
 answered on 23 Feb 2012
7 answers
275 views
Hi,

I using a DataGrid to display some data and want to set the FilterExpression value, to define a default filter. The filter is applied correct (only row that matches are displayed). However, the filter values are NOT displayed in the filter controls. So the user does not see which filters are applied to the data.
I also tried to set the filter function and value on a per column base with the CurrentFilterFunction and CurrentFilterValue property on a GridColumn, but the values are not reflected in the filter controls either.

Is this a desired behavior or a bug?

lG
Jens
Ramsey Callaway
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
60 views
There are some old threads about Expression Web 3 and Telerik controls but does anyone know/use EW4 and T controls?

Thanks
Rumen
Telerik team
 answered on 23 Feb 2012
1 answer
145 views
hi folks,
i've this code:
<telerik:RadListBox ID="lista1" runat="server" Height="230px" Width="250px" TransferToID="lista2" SelectionMode="Multiple"/>
<telerik:RadListBox ID="lista2"  runat="server" Height="230px" Width="250px" SelectionMode="Multiple" />
<asp:Button ID="btnTransferRight" OnClientClick="return trasferisciBoxDestra()" Text=">>"  runat="server" />

where in javascript i've this function:
function trasferisciBoxDestra() { 
            var listbox = $find("<%= lista1.ClientID %>");
            var elemSelezionato = listbox.get_selectedItem();
            if (elemSelezionato == null) {
                alert("Bisogna selezionare almeno un elemento.");
                return false;
            }
            listbox.transferToDestination(elemSelezionato);
            return false;
        }

How can i select different items with control button and send them by "transferToDestination" method pass it an array?
thanks in advance. 
TheFool
Top achievements
Rank 1
 answered on 23 Feb 2012
0 answers
103 views
Hi,
I have a page with tabstrip and multipage control which each holds a user controls

<telerik:RadStrip..>
      <Tabs>
            <telerik:RadTab Text="Image" PageViewID="PageViewImage" ... />
</telerik:RadStrip>

<telerik:RadMultiPage ... .>
<telerik:RadPageView ...>
                 <uc1:ImageChanger id.. />
         </telerik:RadPageView>
</telerik:RadMultiPage>

User Control: ImageChanger.ascx
<script language="javascript" ..>
      function OpenImageChanger(){ 
         ...
         // Opens a rad window.. 
        oWindow.add_close(RefreshImage)
      }
   
     function RefreshImage(){
$find("<%= AjaxPanelID.ClientID %>").ajaxRequest('');
    }
</script>
<telerik:RadAjaxPanel ... OnAjaxRequest="Imager_AjaxRequst" ..
           <asp:Image id="ImgCover" runat="server" ImageUrl="default.jpg" />
</teleirk:RadJaxPanel>
<input type="button" onclik="OpenImageChanger()" />

Code Behind: ImageChanger.ascx.cs
protected void Imager_AjaxRequest(object sender, AjaxRequestEventArgs e){
imgCover.ImageUrl = newImage
}


I have put a break point and I do see that the AjaxRequest Event is executed but nothing really changed at the client side.  The Image was still at default.  Also I followed the same approach where another tab and another user control which has treeview.  That treeview didn't get updated as well.  Please advise if I am missing anything since it's being a road block for me to go further.  

Thanks,


Ravi
Top achievements
Rank 1
 asked on 23 Feb 2012
1 answer
148 views
More Updates in this regard:

I have attached one more screenshot to know about the pointshape settings. I have predefined the shape in the designmode as shape=Triangle. Inside code-behind, I set the shape=star3. Before this statement, it was shape=Ellipses (supposed to be Triangle). After this statement, it is shape=star3. But none of the scenario/code impacts the shape of the bubbles. Means, it remains in the ellipse shape.

As far as the #2 issue which I mentioned in the previous mail, I made gray gradiant background to solve this issue temporarily.

Please let me know if there is any updates/improvement,

Regards
Sia
Telerik team
 answered on 23 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?