Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
419 views

Hi,

I have one Rad Window, inside the rad window am calling an aspx page with some controls.  I am getting border for Rad window and also for the aspx page. I want to display the Rad window without any border.

Is it possible for me to hide the border of the rad window.?

i tried to give BorderStyle="None" But still border is comming.

Please help me to sort it out.

Thanks & Regards,
Sushanth Mathew

loowool
Top achievements
Rank 2
 answered on 02 Sep 2011
2 answers
248 views
Hello,
I have a page, which opens a dialog window (Window1). In Window1 there's a custom AJAX control with button which in turn opens new dialog window (Window2). When Window2 closes, a page must handle Window2's OnClientClose event, and Window2 must pass some data to my custom control on WIndow1. To avoid stack overflow, as you adviced here, I put handler on main page.
And now I want to get data sent by Window2 and put them to my control on Window1. This is how I'm doing that now:

 function referenceWindowClose(sender, args) {
            sender.remove_close(referenceWindowClose);
            var arg = args.get_argument();
            if (!arg) return;
            var ctl = $find(arg.TargetControlID);
            if (ctl == nullreturn;
            ctl.set_text(arg.Caption);
            ctl.set_value(arg.RefID);
        }
Variable named ctl is my custom AJAX control. Problem is ctl is always null. I know this happens because Window1 is in IFRAME. But how do I find it from main page? Using sender parameter? Please help.
Dmitry
Top achievements
Rank 1
 answered on 02 Sep 2011
1 answer
114 views
Hello,

I'm looking for code to drag and drop an image from a listbox to another listbox or another solution to achieve this functionality. The usecase is that a user can select from a list of images and drag & drop one or more images to another "placeholder". The next step is that I can save the dropped images to a database of filesystem. Can anyone point me to some examples or solution?

Thanks in advance

Patrick
Peter Filipov
Telerik team
 answered on 02 Sep 2011
15 answers
583 views
I have a RadAsyncUpload control on my page and I want to test all of my functionality for those clients that can't/don't have either Flash or Silverlight installed.

Using code found in this forum I have this in my markup just before the definition of the AsyncUpload control ...
  <script type="text/javascript">
    Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; }
  </script>
</para>

Now, when testing, I was expecting to:
  1. Not be able to select multiple file
  2. See an Add button to add a new file

So, I'm doing something wrong, it's broken or my expectations are wrong.

Which is it?

-- 
Stuart

Peter Filipov
Telerik team
 answered on 02 Sep 2011
1 answer
71 views
So I'm using the grid to manage a number of reference tables.  Most just have the identity and a text field, one has several text fields.  I'm doing it as generically as possible, with one grid and one SQLDataSource on the page, and 4 stored procs with generic parameters for insert, update, delete and select.  I have corresponding params for each action defined declaratively in the datasource.
<SelectParameters>
            <asp:Parameter Name="itemType" Type="String" />
        </SelectParameters>
        <InsertParameters>
            <asp:Parameter Name="itemType" Type="String" />
            <asp:Parameter Name="itemValue" Type="String" />
            <asp:Parameter Name="itemValue2" Type="String" />
            <asp:Parameter Name="itemValue3" Type="String" />
        </InsertParameters>
        <DeleteParameters>
            <asp:Parameter Name="itemID" Type="Int32" />
            <asp:Parameter Name="itemType" Type="String" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="itemID" Type="Int32" />
            <asp:Parameter Name="itemType" Type="String" />
            <asp:Parameter Name="itemValue" Type="String" />
            <asp:Parameter Name="itemValue2" Type="String" />
            <asp:Parameter Name="itemValue3" Type="String" />
        </UpdateParameters>


I'm handling the Updating, Selecting etc... events for the datasource, and set the value of the datasource params there before it runs each command.
protected void dsActivity_Deleting(object sender, SqlDataSourceCommandEventArgs e)
        {
            int paramcount = e.Command.Parameters.Count;
  
            e.Command.Parameters["@itemID"].Value = e.Command.Parameters["@" + lstReference.Items[lstReference.SelectedIndex].Value + "ID"].Value.ToString();
            e.Command.Parameters["@itemType"].Value = lstReference.Items[lstReference.SelectedIndex].Value;
  
            while (e.Command.Parameters.Count > 2)
                e.Command.Parameters.RemoveAt(e.Command.Parameters.Count - 1);
        }


The problem I had to work around was that although the grid appends the field values to the params in the datasource events, the order of them is not consistent.  So that makes it hard to handle them in a generic manner since I can't use the index to reference them, not knowing what param might be in a given position.

I've worked around this since I ran into it, but it would have been a lot cleaner if I could depend on the parameters to be added in the same order.  This would be handy for certain scenarios like this if it would build that with the params in the corresponding order they were originally retrieved.

Marin
Telerik team
 answered on 02 Sep 2011
2 answers
64 views
Hi,

I am having two radtreeview, i want to do cut and paste the items between the trees. I can do mulitple select. I search for the cut and paste in radtree view. Is it available ?. If not please tell me how can i perform that.

Regards,
Xavier
Xavier
Top achievements
Rank 1
 answered on 02 Sep 2011
1 answer
84 views
Hi,

I have a radgrid with some smileys which had been inserted from radEditor.
Now when I export the grid to word, it exports it well but throws the below bug:

Error Info:Object reference not set to an instance of an object.
Error URL path:http://www.xtz.com/Smiley/haha.gif
Stack trace: at Telerik.Web.UI.RadCompression.Compress(HttpApplication application) at Telerik.Web.UI.RadCompression.PreRequestHandlerExecute(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The Smiley's path is correct, and I am able to see the image on loading the URL path.
But why I get the RadCompression bug?
Daniel
Telerik team
 answered on 02 Sep 2011
7 answers
72 views
Hi,

    We have created hourly recurring appointments with reminder, we are not getting the exact idea about how to dismiss the appointments?

For these types of appointments, it will fires following events when we press dismiss button,

      1. ReminderDismiss

      2. AppointmentUpdate

      3. AppointmentInsert

can you give us some suggestion about what are the operations we require to perform in these events?

FYI. We have used “AdvancedInsertTemplate” and “AdvancedEditTemplate”.

Thanks

Veronica
Telerik team
 answered on 02 Sep 2011
3 answers
159 views
Hi ;
We have use Radbutton Control in our Project in all popup pages but when we scroll the pages up and down or using horizontal scroll bar Radbutton does not scroll with the pages . Can you let us know how to rectify this issue
please note: we have use Radbutton in asp update panel
Bozhidar
Telerik team
 answered on 02 Sep 2011
3 answers
133 views
how to clear existing filter expression when i filter another column.

in 1st column i had applied filter then when i tried to filter 2nd column it should clear 1st column filter and need to apply 2nd column filter

how to clear that
Marin
Telerik team
 answered on 02 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?