Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
200 views
Hello,

I have some z-index related problem, my radwindow is displayed behind the youtube flash object. 

Here is my test code,

<script type="text/javascript">          
            function ShowDescriptionForm() {

                window.radopen("test.aspx", "ShowComment");
                return false;
            }
</script>


<
div align="center"> 
        <object style="height: 245px; width: 301px;"> 
            <param name="movie" value="http://www.youtube.com/v/cL9Wu2kWwSY&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1"> 
            </param> 
            <param name="allowFullScreen" value="true"></param> 
            <param name="allowScriptAccess" value="always"></param> 
            <embed src="http://www.youtube.com/v/cL9Wu2kWwSY&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1" 
                type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" 
                width="301" height="245"></embed></object> 
        <br /> 
        <br /> 
        <br /> 
        <p> 
            <asp:LinkButton runat="server" ID="lbtnTest" Text="Test" OnClientClick="return ShowDescriptionForm();"></asp:LinkButton> 
        </p> 
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" > 
            <Windows> 
                <telerik:RadWindow ID="ShowComment" runat="server" Width="600px" Style="z-index: 10000" 
                    Height="650px" Modal="true" ShowContentDuringLoad="false" VisibleStatusbar="false" /> 
            </Windows> 
        </telerik:RadWindowManager> 
    </div> 


Please help me to solve my problem.
I am using Telerik new released Q2 2009.





Thanks,
Amol Wable | amolwable.com
dhlennon
Top achievements
Rank 1
 answered on 15 Mar 2013
9 answers
296 views
Hey guys,
I am new to telerik controls and currently evaluate leveraging the radGrid with a GridAttachmentColumn. What we want to do is to write the filename of a currently uploaded file into a textfield outside of the grid into a textbox (called "latest upload"). Unfortunately I have no idea, how to attach to the Client-Side events of this column or the respective grid Event, thrown by this column type.

I read, that this column is rendered as a radUpload control when the grid is in edit mode, which is our case. This controls' documentation offers the clientFileSelected Event, that is not offered by a radGrid. In the AttachmentColumn Demo (here) there was shown a way to handle certain "GridCommands" by assigning an eventHandler to the "OnCommand" Event of the Grid and then asking for the commandName by such a function:
function gridCommand(sender, args) {
        if (args.get_commandName() == "DownloadAttachment") {
               // some logic here
        }
    }

What I wanted to do is to listen to the event, thrown by the radUpload control to retrieve the filename and then write it somewhere else, but no matter what I do in the radUpload, I am not stepping into this script, since it obviously does not throw GridCommands.
As far as I searched I could not find a way to attach to events "just inside this column". Can anyone tell me how to attach to what is presented as the "OnClientFileSelected" Event in the radUpload Control (here)?

Best regards!
Peter
Antonio Stoilkov
Telerik team
 answered on 15 Mar 2013
1 answer
97 views
Hello,

So I have a radgrid, and in this radgrid I have a "User" column, and and "Email" column.
The "Email" column is a gridbuttoncolumn.
I want to have that link button to email the selected user on that row when clicked.
Is this possible? I am a beginner, and I am working in vb.net

PLEASE HELP!
Shinu
Top achievements
Rank 2
 answered on 15 Mar 2013
1 answer
107 views
Hi,
Is it possible to display a tree view inside a raddropdown list?

Thank you,
Ben
Princy
Top achievements
Rank 2
 answered on 15 Mar 2013
1 answer
126 views
Hi, I was wondering how I could use one grid, or maybe some master/detail grid to update/insert records from four tables at once.

Here are the four tables:
Users
Roles
Permissions
Accounts

Those are all related and need to all have records for the app to work.

I was hoping that this already has been done, and that there is a nice way to achieve that.

Thank you for your help.
Shinu
Top achievements
Rank 2
 answered on 15 Mar 2013
1 answer
87 views
HI,


    i have the date format like 2/8/2013 from this i want only 8 how can i get it.
    that means i want to get particular part from the date format.




 Thanking You,
 P.Mugil
Princy
Top achievements
Rank 2
 answered on 15 Mar 2013
2 answers
213 views
Hi,

I have the need to make a combobox witth a treeview in it, and have looked at the example given in the live samples.
However the samples use a hardcoded id when referencing the combobox in the NodeClicking handler.

function nodeClicking(sender, args)
{
            var comboBox = $find('RadComboBox1');
            var node = args.get_node()
            
            comboBox.set_text(node.get_text());
            
            comboBox.hideDropDown();
}

This is not usable for a real world control as one might want multiple such controls on the same page.
So I need to be able to send the nodeClicking handler the id of the combobox, so that I can register the javascript on the page once.

Thanks in advance,
Thomas Scheelhardt
msigman
Top achievements
Rank 2
 answered on 15 Mar 2013
6 answers
213 views
Here is my scenario:

 - The user is on an order page - enters a new order
 - Upon completion, a RadWindow is displayed confirming your order was entered
 - From this first RadWindow you can click on a button to apply payment
 - This opens a second RadWindow which asks for Payment Information
 - If you select to pay via Credit Card, this opens a third RadWindow to collect the CC details from an external site inside an iFrame

At this point all is good.

Now, when you are done processing the CC payment in the third RadWindow
, the processor's page fires a refresh target=_self, which ends up being the third RadWindow, appending a value to the query string to indicate that it has finished.  I then can read out some variables from Request.Params to see if the payment took, etc.

The Problem:

When I first open the RadWindow, I can call the GetRadWindow() function and I get the reference to the Third RadWindow.  BUT when the processor page (which is in an iFrame) refreshes the RadWindow --  GetRadWindow() goes null.  This is a problem, because now I cannot close the Window!  

Any ideas on how to persist or re-initiate the RadWindow object so that I can close my popup? 

John
Top achievements
Rank 1
 answered on 15 Mar 2013
4 answers
291 views
Hello,

I have a RadGrid, used for data entry that has a DatePicker column and a TimePicker column, each having the associated icon to click for the correct pop-up Picker.  There are several rows, so that the grid has to be scrolled vertically on occasion. When this is the case, the calendar and clock icons do not scroll correctly in IE6. See attached images of the grid scrolled up and scrolled down.

I am using the latest version of the ASP.NET AJAX controls: 2013.1.220.40

I have seen some older forum threads mention similar problems can be fixed by adding "position: relative" to the style of the container of the problem elements.  The icons are in RadGrid generated table cells with no class definition (second td in code below), so I'm not sure how to add the relative position style to that cell. I've tried setting position:relative for class rcCalPopup. I've tried setting position:relative for rcTable td. Neither worked. 

Could you please tell me how to fix the problem?
<table cellspacing="0" class="rcTable rcSingle" summary="Table holding date picker control for selection of dates." style="width:100%;">
                <caption style="display:none;">
                    RadDatePicker
                </caption><thead style="display:none;">
                    <tr>
                        <th scope="col"></th>
                    </tr>
                </thead><tbody>
                    <tr>
                        <td class="rcInputCell" style="width:100%;"><span id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput_wrapper" class="riSingle RadInput " style="display:block;width:100%;"><input id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput" name="ctl00$BC$G1$GD$ctl00$ctl06$RDIPDate$dateInput" class="riTextBox riEnabled" type="text" /><input id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput_ClientState" name="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput_ClientState" type="hidden" /></span></td>
                        <td><a title="Open the calendar popup." href="#" id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_popupButton" class="rcCalPopup">Open the calendar popup.</a></td>
                    </tr>
                </tbody>
            </table>
Kya
Top achievements
Rank 1
 answered on 14 Mar 2013
4 answers
186 views
Hi all,

I have a RadGrid1_ItemCommand where at an e.CommandName == "PerformInsert" after inserting I use the e.Canceled = true to hide the insert template, but it nevers hide. What I'm doing wrong please. Here is the code. The update part does work and hides the <EditFormSettings EditFormType="Template">

protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
        {
            if (e.CommandName == "PerformInsert" || e.CommandName == "Update")
            {
                //some code block
                    if (Session["idSess"] == null)
                    {
                        objBz.Insert(objEntity);
                        e.Canceled = false;
                    }
                    else
                    {
                        objBz.Update(objEntity);
                        RadGrid1.MasterTableView.ClearEditItems();
                    }
            }

Rawl
Top achievements
Rank 1
 answered on 14 Mar 2013
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?