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

I have a RadTooltip that must be inside a predefined div. But the Tooltip wrapper render at the end of the document, how can I force the wrapper to be rendered inside my div?

I tired to set RenderInPageRoot to false but It still render it to the end of the document....

Thanks.
Jocelyn
Top achievements
Rank 1
 answered on 08 Nov 2013
8 answers
1.5K+ views
How to read selected value of drop down using javascript

In my case I have an GridTempalte column inside that edit template is their. Edit  template contains Update button when i click on button i want to get selected value of dropdown using javascript

Need help urgent


Thanks
Rahul
Top achievements
Rank 1
 answered on 08 Nov 2013
1 answer
90 views
We have windows with radgrids and other controls.

If the user clicks the X before the page has finished loading we get this error:  (in Chrome 30)
Uncaught TypeError: Cannot read property `1` of null

This is the code:

var oWnd = window.$find('Modal' + (window.myModalWindows.length + 1));

  function OnClientBeforeClose(sender, eventArgs) {
    var pageName = oWnd.get_contentFrame().contentWindow.location.pathname.match(/.*\/([^\/\.]+)/i)[1]; <-- Error line  

    if (oWnd.get_contentFrame().contentWindow[pageName + "_onunload"])
      oWnd.get_contentFrame().contentWindow[pageName + "_onunload"]();
    oWnd.get_contentFrame().contentWindow.location.replace('Blank.aspx');
  }
Marin Bratanov
Telerik team
 answered on 08 Nov 2013
4 answers
188 views
Hello,

I'm following the code example from : http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx

I have set up a ClientSettings tag and set the various flags as appropriate.  Drag and drop is not working on my grid.  Any ideas? I've pasted my RadGrad tag below.

Thanks in Advance!

<telerik:RadGrid
    ID="dgWorkflowItems"
    runat="server"
    ClientIDMode="Static"
    AutoGenerateColumns="False"
    EnableEmbeddedSkins="False"
    EnableNoRecordsTemplate ="True"                      
    Visible="True"
    Skin="bdbk"
    OnRowDrop="dgWorkflowItems_OnRowDrop"
    OnPreRender="dgWorkflowItems_OnPreRender"
    OnNeedDataSource="dgWorkflowItems_OnNeedDataSource">
     
    <ClientSettings AllowRowsDragDrop="true" EnableRowHoverStyle="false" >
        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
        <ClientEvents OnRowDropping="onRowDropping" />
    </ClientSettings>
 
    <MasterTableView TableLayout="Fixed">
        <NoRecordsTemplate >
           <div style="height:30px;">No Contributions found for this meeting.</div>
        </NoRecordsTemplate>
        <Columns>
            <telerik:GridBoundColumn DataField="ContributionKey"
                Visible="False"
                DataType="System.Int32"
                HeaderText="ContribKey" UniqueName="ContribKey">
            </telerik:GridBoundColumn>
            <telerik:GridCheckBoxColumn
                UniqueName="CheckForSubmit"
                HeaderText="Submit"
                HeaderStyle-Width="3em"
                HeaderTooltip="Select items to submit for review and click the submit button below."
                />
            <telerik:GridBoundColumn HeaderText="Subject/Bookmark"
                UniqueName="SubjectBookmark"
                DataField="Description"
                ></telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                DataField="Status"
                UniqueName="Status"
                HeaderText="Status">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                HeaderText="Document"
                UniqueName="Document"
                HeaderStyle-Width="6em"
                DataField="DocumentName"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                HeaderText="Instructions"
                UniqueName="Instructions"
                DataField="Instructions">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                HeaderText="Contributor"
                DataField="Contributor"
                UniqueName="Contributor"
                ></telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                DataField="ContributionType"
                UniqueName="ContributionType"
                Visible="False"
                >
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Viktor Tachev
Telerik team
 answered on 08 Nov 2013
3 answers
128 views


Hi Telerik Support, 


I'm using a singlemonth calendar with autopostback false, showcolumn/row headers true, enablemultiselect true and all code on client side and i need to know all the days that  are going to be selected when i click on the column/header row. From what i saw i can get the row/column index but dont know how to get all the days in that row/column in the currentview.

Need this to see if the days exist in another array and see if i want to select/deselect or only select the dates that dont exist on the other array.

Thanks, 
António
Viktor Tachev
Telerik team
 answered on 08 Nov 2013
1 answer
165 views
Hi.
I am using a RadSearchBox in the filter template of a column "Country" .  But its not getting filtered . Can some one help me with some sample .
Princy
Top achievements
Rank 2
 answered on 08 Nov 2013
8 answers
600 views
Hi all 
Greeting of the day

I  have a problem
The problem is that i have a rad drop down with check box and in this drop down  user can select more than one value in this list 
select the check box from drop down and click  on search button ,system doesn't make search  untill we again click on search button. System perform search on first click if we we click any where on page after selecting check box .




Thanks 
Sushobhit Raman



Princy
Top achievements
Rank 2
 answered on 08 Nov 2013
6 answers
188 views
Hi, i have this problem, i have 30 minutes appointments and 30 minutes slots in the radscheduler, but some appointments are shifted,you can see it in the image.
It's happend with appointments that start after 16:00 only, i tried with just one appointment and it's shiffed to left.
I tried with 60 minutes slots and it's works perfectly, but with 30 minutes slots it'doesn't, why?
Boyan Dimitrov
Telerik team
 answered on 08 Nov 2013
1 answer
109 views
Hi 

There are few input fields and required field validators and I tried to display the error message inside the control which is not completely possible due to browser related issues. So I thought of alerting the error messages on validation failed. But how can I get the error messages in javascript so that I can display them in an alert box? Is this a possible requirement?

Thanks
Ivy
Shinu
Top achievements
Rank 2
 answered on 08 Nov 2013
4 answers
208 views
I'm just getting started with the Window control. I've placed a RadWindowManager on my form and created a window inside of it:

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
        <Windows>
            <telerik:RadWindow ID="CVC" runat="server" Animation="Slide"
                Behavior="Resize, Close, Move, Reload" Behaviors="Resize, Close, Move, Reload"
                EnableShadow="True" Height="450px" NavigateUrl="/what_is_cvc.html"
                style="display:none;" Title="Security Code" Width="340px"
                KeepInScreenBounds="True" OffsetElementID="aCvc" VisibleStatusbar="False"
                VisibleTitlebar="True" ShowContentDuringLoad="True" Skin="Windows7">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>

I'm opening the window when a link is clicked:
<a id="aCvc" href="#" onclick='radopen(null, "CVC");' >What is this? </a>

When I run it, it works, but the shadow is applied after the Window is shown. When I had a Top and Left offset defined, these were also applied after the Window was shown causing it to jump to a new position. How can I get the properties to apply before the Window is visible?
Marin Bratanov
Telerik team
 answered on 08 Nov 2013
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?