Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
167 views
Hello I am trying to hide/eliminate the image 1 of one from the ligtbox
thank you


<telerik:RadLightBox ID="FeedbackLightBox" runat="server"  Modal="true">
        <ClientSettings>
            <AnimationSettings HideAnimation="Resize" NextAnimation="Fade" PrevAnimation="Fade"  ShowAnimation="Resize" />
        </ClientSettings>
        <Items>
            <telerik:RadLightBoxItem>
                <ItemTemplate>
                    <div>
                        <br />
                        <h2>
                        Email Address</h2>
                        <img style="" alt="" src="<%= ResolveUrl("~/images/popup_underline.gif") %>" width="80%"><br />
                        <br />
                        The email address you enter will be used as your unique login ID. You will also
                        receive all Portal notifications to this email address.<br />
                        <br />
                        If this email address is in use, please verify that another user is not already
                        registered with this email address.
                        <br />
                        <br />
                        If this is your email address and you have forgotten the password, please click <a
                            href="<%= ResolveUrl("~/Profile/ResetPassword.aspx") %>">here</a> to go to the
                        Reset Password page.
                        <br />
                        <br />
                    </div>
                </ItemTemplate>
            </telerik:RadLightBoxItem>
        </Items>
    </telerik:RadLightBox>

<a href="#" onclick=" OpenCodeLightBox();"  class="left-field poplight"></a>

function OpenCodeLightBox() {
            var lightBox = $find('<%= FeedbackLightBox.ClientID %>');
            lightBox.show();
        }


 
Gary
Top achievements
Rank 1
 answered on 08 Nov 2013
3 answers
227 views
Sorry, AllowScroll="true" works in the new version 2013.3.1015.45
But the columns are not centered......

2013.2.717.45.png: Centered perfect and scrolling works
2013.3.1015.45.png: Not centered and scrolling doesn't works


Pavlina
Telerik team
 answered on 08 Nov 2013
3 answers
317 views

hi,

i have a usercontrol with radgrid that have a RadTabStrip in its nestedviewtemplet and in tab there is usercontrols and each control has it's 

i am using this code to update radgrids in all controls even the parent control

  
Dim ParentPageAjaxManager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)
ParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager,
Me.StudentsMasterProgramsListRadGrid)
 AddHandler ParentPageAjaxManager.AjaxRequest, AddressOf ParentPageAjaxManager_AjaxRequest

when compile i get this error "Collection was modified; enumeration operation may not execute."

so i tried to remove this line 

ParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager,
                        Me.StudentsMasterProgramsListRadGrid)


from all child controls and leave it in the parent control and it worked!!

and rad grids in controls in nestedtemplete update like i want 

but the problem when i want to use those child controls ((not in a rad grid))) then radgrids in child controls won't update by ajaxmanger .


could someone please explain this to me and gave me a solution .
 

Angel Petrov
Telerik team
 answered on 08 Nov 2013
5 answers
386 views
Hi teleirk,
    How to multiple select node without pressing ctrl key? I have a secnario, when user select a node, add it value to a textbox, but I don't want to multiple select with any keyboard, only use mouse, how to implement it?
    question 2 : Is there any client method to directly get all the selected nodes?
    suggestion: Why not add a property like ExplandDeeps, in some scenario, we usually need to expland 1 or 2 level automatic of the tree after the data was binded
Boyan Dimitrov
Telerik team
 answered on 08 Nov 2013
12 answers
194 views
I find the OrgChart control really interesting and would like to use the control to show and modify the organization of various customers. However, I find that the contruction of the javascript takes a substantial amount of time when the organization consists of more than a few hundreds/thousand units. I understand that this is caused by the fact that all units from the datasource is loaded by the control and not just the once that is shown on the screen.

Luckily, the 2012Q3 release contain the webservice option as demoed at http://demos.telerik.com/aspnet-ajax/orgchart/examples/populatingwithdata/webservicebinding/defaultcs.aspx. This really seems like the way for us to go. However, we haven't succeeded using the webservice functionality, and we are not able to connect the control to the two WCF services that we have created. We are unsure how to use the two WebServiceBindings collection and have tried with both various URI's and labels to services referenced for RadOrgChart2.WebServiceBindings.GroupEnabled.GroupItemServiceSettings.Path. The two services are running when the aspx file is lanched but they aren't called when hitting one of the two extend buttons. Using Fiddler we get a http code 400 or 404 depending on our current setting. We have not been able to find any helpful documentation or forum tips that could help us out.

Will it be possible to get a working VS solution included the aspx page and the two services from the demo-page (preferable C#)? Or alternatively, some additional information on how to setup the WCF services and customy the OrgChart control to connect to the services?

Thanks.
Plamen
Telerik team
 answered on 08 Nov 2013
3 answers
150 views
(1) In a PivotGrid, is it possible to have the values sorted when filtering? If we display a list of values, from which to select, the values are unordered. If the number of values is lengthy, it's very cumbersome for the users to scroll through and find specific values since they have to look at every one.

Is it possible to have the list of potential values returned in sorted order?

(2) Why is it that the 'Label Filter' and 'Value Filter' only show up for certain columns? The user would like to use a substring search on one column, but the filtering options don't show anything other than the checkbox list.
Kostadin
Telerik team
 answered on 08 Nov 2013
2 answers
117 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.3K+ 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
58 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
161 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?