Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
116 views
Hi,

I've a radgrid with two Details table.
I've set the ParentTable Relationship via ASPX and via C#, but when i'm going to open the detail, sometime my detail table shows three page or more, but one or more of that is empty.

My solution is populate the datasource detail table in runtime mode into detailtable_databind event, but i don't like this.

How can I do?

Thanks
best regards
Pavlina
Telerik team
 answered on 08 Oct 2011
4 answers
211 views
hello Telerik Team,
             I have a Telerik AsynUpload Version 2011.1.315.35,
I set it as multifile upload but it select one file at a time
<script type="javascipt">
    function DoFrameSize(){
        doBody();  
    }
    Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable = function () { return false; }
    Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; }
<script>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                        <AjaxSettings>
                            <telerik:AjaxSetting AjaxControlID="RadAsyncUpload1">
                            </telerik:AjaxSetting>
                        </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"  MultipleFileSelection="Automatic"                                     OnClientFileSelected="DoFrameSize"  ForeColor="Black">
        <Localization Select="Add Files" />
</telerik:RadAsyncUpload>
<telerik:RadProgressArea runat="server" ID="RadProgressArea1">
</telerik:RadProgressArea>
                    </div>


Regards

Daniel
Top achievements
Rank 1
 answered on 08 Oct 2011
3 answers
223 views
Hi.

I'm programming a website section in DNN based on this sample:
http://demos.telerik.com/aspnet-ajax/tooltip/examples/default/defaultcs.aspx

I'm trying to display a google plus one button in the details page or user control by using a Literal control. This is my code:
private void shareGoogle(int ProductId)
{
        //url for sample purpose
        string url = "http://www.telerik.com/";
 
        StringBuilder script = new StringBuilder();
        script.Append("<script type=\"text/javascript\" src=\"https://apis.google.com/js/plusone.js\"></script>");
        script.Append("<g:plusone");
        script.Append(" size=\"standard\"");
        script.Append(" count=\"false\"");
        script.AppendFormat(" href=\"{0}\"", url);
        script.Append("></g:plusone>");
 
      
        ltGoogle.Text = script.ToString();
}

The problem is that if I put this code in the view page, it displays correctly but if I put it in the details page it does not display anything.

I also put the javascript call to google api in the skin file so it can be seen by any module I insert in the website.

The other option I tried was that I downloaded a c# project which overrides Render method but it has the same behaviour in both view and details page.

Thank you.
Gerardo


Gerardo
Top achievements
Rank 1
 answered on 07 Oct 2011
0 answers
179 views
I have searched for a solution to this...so if I overlooked I apologize. Please advise as to where to find solution.
I have 2 RadListBox elements each wrapped in asp:UpdatePanel with UpdateMode="Conditional". When I call .Update on the update panel containing the drop destination control, it seems the drag and drop (even move with buttons) functionality is no longer available.

ASPX:
<div style="float:left; width:285px;">
<asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
       <ContentTemplate>
           <telerik:RadListBox ID="rlb1" runat="server" AllowTransfer="true" EnableDragAndDrop="true" TransferMode="Copy" TransferToID="rlb2" SelectionMode="Multiple" ButtonSettings-VerticalAlign="Middle" ButtonSettings-ShowTransferAll="false" AllowTransferOnDoubleClick="true" Height="300px" Width="100%"></telerik:RadListBox>
       </ContentTemplate>
 </asp:UpdatePanel>
</div>
<div style="float:left; width:285px; padding:0px 0px 0px 10px;">
    <asp:UpdatePanel ID="up2" runat="server" UpdateMode="Conditional">
         <ContentTemplate>
           <telerik:RadListBox ID="rlb2" runat="server" EnableDragAndDrop="true" AllowReorder="true" AllowDelete="true" AllowTransferDuplicates="false" ButtonSettings-VerticalAlign="Middle" Height="300px" Width="100%"></telerik:RadListBox>
         </ContentTemplate>
     </asp:UpdatePanel>
 </div>


VB.NET:
rlb2.ClearSelection()
rlb2.Items.Clear()
up2.Update()

I downloaded the latest release and doesn't change this behavior.

Thanks...Kelly

I have opened a support ticket for this issue. Once resolved I will post the answer for anyone else having this issue.

10/11/2011....
So it seems the issue is created when an async postback occurs and only one of the two controls is updated (.Update on the update panel). The immediate solution is to update both controls (.Update on both update panels).  I have asked for this to be addressed in a future release as I strongly believe this is a bug. Hope someone finds this helpful.

10/12/2011....
Seems the "answer" is to update both controls. ie...Seperate update panels, call .Update on both.
You can view the ticket at http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=471747
Kelly Arnold
Top achievements
Rank 1
 asked on 07 Oct 2011
2 answers
113 views
Hey everyone. 
I have been having some CSS problems. 

No matter what i do all my elements take more height on FF than then do on IE. 
Does I was wondering where the  telerik CSS are?

Moises
Top achievements
Rank 1
 answered on 07 Oct 2011
1 answer
50 views
The title says it all really. I currently have "Mon", "Tue", etc... and I want "Monday", "Tuesday", etc...

I don't see a good method of doing this, and wondered if it was possible? Thanks!
Neil
Top achievements
Rank 1
 answered on 07 Oct 2011
1 answer
122 views
Hi,

How to update one or more controls after postback of one or more controls ?

Thank for your help

Anne
Dan Lehmann
Top achievements
Rank 1
 answered on 07 Oct 2011
0 answers
100 views
Hello,
in a radgrid I have 3 columns in which I inserted a radcombobox for each column. The objectdatasources of each combo receives the values of all 3 selecteditem combos, in this way if I filter for the first combo, the other 2 are automatically updated and they shows only the values available for the filtered records. All works fine but...... if I filter for a combo, and then I use a text filter and in this second case there are no records to show, an error occurs because the selecteditem chosen for the combo is not available anymore (because the combo is automatically updated...)

So, how can I manage this case? Is there a way to say "If the combo has no items and I set a non existing value, go ahead anyway without thowing an exception?"

Thanks
Mario
Top achievements
Rank 1
 asked on 07 Oct 2011
1 answer
173 views
Is there a way to use a jquery dialog modal instead of the javascript confirm message with the Treeview? When a user drags a node to another on a tree I am executing the client side event "OnClientNodeDropping", what I want to do is show a jquery dialog asking the user to confirm the move. I would want the OK and Cancel button of the modal dialog to pass a value to args.set_cancel(dialog_result); When I try this the page execute before the dialog can return a true or false confirmation. How can I swap out the old school confirm for a jquery modal dialog


function OnNodeDropped(sender, args) {
            var srcNode = args.get_sourceNode();
            var destNode = args.get_destNode();
            var dNode = destNode._contentElement.innerHTML.indexOf("inActiveCategory");
            if (dNode >= 0) {
//Call a modal dialog here and return true of false instead of using the old school confirm
                var result = confirm("This category is inactive. Moving to " + destNode.get_text() + " will set " + srcNode.get_text() + " to inactive as well! ");
//get the return value from the dialog, is it canceled or ok 
                args.set_cancel(dialog_result);
            }
        }
Plamen
Telerik team
 answered on 07 Oct 2011
1 answer
116 views
Can I change navigation sequence?
For example, now "Day Week Month TimeLine" <-- by default, right?
So I want to change to "Day TimeLine Month ... ". Is that possible?
Ivan Zhekov
Telerik team
 answered on 07 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?