Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views
  • ASP.NET version: 4.0
  • OS: Windows 7
  • exact browser version: FF 3.6.13 & IE 7,8, 9
  • exact version of the Telerik product: ASP.NET AJAX Q2 2010
  • preferred programming language: C#
I am using a third party jQuery script called qTip by Craig Thompson (http://craigsworks.com/projects/qtip/) and it has worked well in most uses but I am having a complication with using it along with a RadGrid.  Basically on the initial page load everything works fine, but if I filter a column or expand a nested view the qTip script stops working and I receive a javascript error: "Message: Unspecified error. URI: http://localhost:49894/webroot/javascript/jquery.js".

My jQuery script on the page is as follows:
(function ($, window, undefined) {
            $(document).ready(function () {              
                $.fn.qtip.styles.typeToolTip = {
                    width: 210,
                    background: '#FFF',
                    color: '#333',
                    border: {
                        width: 5,
                        radius: 0,
                        color: '#A7D11C'
                    }
                }
                $(".originalType").qtip({
                    content: {
                        url: 'help/OriginalTypeToolTip.html',
                        prerender: 'true'
                    },
                    style: {
                        name: 'typeToolTip'
                    },
                    position: {
                        corner: {
                            target: 'topRight',
                            tooltip: 'topLeft'
                        }
                    },
                    show: { delay: 1000,
                        effect: {
                            type: 'slide',
                            length: 200
                        }
                    }
                });
});
        } (jQuery, this));

Any ideas?

 
Radoslav
Telerik team
 answered on 01 Feb 2011
1 answer
362 views
Hey guys

Trying to set focus to a specific control in a radwindow content template.  I have the following in my Onclientshow (taken from another thread).  Thanks!

<script type="text/javascript">
    function OnClientShow(sender, args) {
        var pnum = $get('<%# rwDialog.FindControl("radnMvPropNo").ClientID %>');
        pnum.focus();
    }
</script>

The problem is that at run time, the findcontrol server side block is turning up ''
<script type="text/javascript">
 function OnClientShow(sender, args) {
 var pnum = $get('');
 pnum.focus();}
</script>

Becase this is in a user control, I suspect I need to do something different to find the control:
"WctlShippingCart_rwDialog_C_radnMvCustNo_wrapper" is what is has become.


The content layout is as follows:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="True"
    Modal="True" Behavior="Default" InitialBehavior="None">
    <Windows>
        <telerik:RadWindow runat="Server" ID="rwDialog" Modal="true" Title="Move Selected Properties"
            OnClientShow="OnClientShow" AutoSize="True" Behavior="Close, Move" Behaviors="Close, Move"
            VisibleStatusbar="False">
            <ContentTemplate>
                <table width="220px">
                    <tr>
                        <td style="width: 12%">
                        </td>
                        <td style="width: 32%">
                            Customer #
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td style="width: 1%">
                        </td>
                        <td style="width: 7%">
                        </td>
                        <td style="width: 32%">
                            Property #
                        </td>
                        <td style="width: 12%">
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <telerik:RadNumericTextBox runat="Server" ID="radnMvCustNo" Width="50px" Culture="English (United States)"
                                Skin="Vista" MaxLength="4" MaxValue="9999" MinValue="1000">
                                <NumberFormat DecimalDigits="0" GroupSeparator="" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                        </td>
                        <td style="text-align: center">
                            -
                        </td>
                        <td>
                        </td>
                        <td>
                            <telerik:RadNumericTextBox runat="Server" ID="radnMvPropNo" Width="50px" Skin="Vista"
                                Culture="English (United States)" MaxValue="9999" MinValue="1000" MaxLength="4">
                                <NumberFormat DecimalDigits="0" GroupSeparator="" />
                            </telerik:RadNumericTextBox>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td colspan="5" style="text-align: center">
                            <br />
                            <asp:Button runat="Server" ID="btnMoveOK" Text="Move" />
                              
                            <asp:Button runat="Server" ID="btnMoveCancel" Text="Cancel" />
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
Svetlina Anati
Telerik team
 answered on 01 Feb 2011
0 answers
82 views
Hello,

      I have used RadTree in my web page.due to record will come more, i have to put it into RadPane and set the overflow property for RadPane.

     Its working well for other browser, but i got design problem with IE6.

     Node text get overflow and scrollable well, but node image dosen't get scroll.

     Please help me for same.
Kaushal
Top achievements
Rank 1
 asked on 01 Feb 2011
4 answers
126 views
Hello

I would like to know how to customize the Hyperlink Manager. Here is a rough outline of what the UI flow should be:

1. Highlight text in RadEditor to turn into Hyperlink
2. click on Hyperlink Manager button
3. Hyperlink Manager dialogue opens
4. click on a button by URL textbox (similar to/or using Document Manager button)
5. bring up dialogue/file browser to current site map/pages
6. select page (by Name/possibly in treeview) that will provide a relative URL (e.g. Page.aspx?id=1253)
7. populate Hyperlink Manager URL textbox with relative URL

Thanks
Rumen
Telerik team
 answered on 01 Feb 2011
4 answers
106 views
When tooltip show my window scroll to top

This happen in DEMO sometimes with this options:
- Relative To: BROWSERWINDOW
- Position: CENTER

Why?
Svetlina Anati
Telerik team
 answered on 01 Feb 2011
1 answer
76 views
is it possible to have the drag and drop functionality within a gird in the cardview layout?

Thanks,
Veli
Telerik team
 answered on 01 Feb 2011
1 answer
56 views
Hi,

We are on the search for which controls we should buy for our ASP.NET development and we see that your controls
can make us very happy.

We would like to ask a couple of questions. We reviewed some demos but we don't stay there only cause they're demos :)

Does your Grid supports custom popup edit form? What I mean is something like the FormTemplate we've seen but popup like and more complex. Say have a tabcontrol and inside tabpages numerous controls binded to the record? Any functional example of something like this would be great. After asking we will try to create this on demo purpose evaluating your controls.

Is your AjaxManager which looks so nice works with every control?

Skinning supports all Web Site project pages? Can we embed your themes into our folder containing our CSS, images and other theme files of our own?

It's really nice to see your good work. And patient to cooperate with you.

Thank you.
Veli
Telerik team
 answered on 01 Feb 2011
1 answer
137 views
Hi:

I've read this example (http://www.telerik.com/help/aspnet-ajax/radgrid-filter-template.html) with great interest.  I'm not using framework 3.5 yet so I'm looking at the 2nd implementation option mentioned in this article.  In particular, the FilterCombo_SelectedIndexChanged even: 

Protected Sub FilterCombo_SelectedIndexChanged(o As Object, e As RadComboBoxSelectedIndexChangedEventArgs)
 Dim filterExpression As String
 filterExpression = "([CategoryName] = '" + e.Value + "')"
 RadGrid1.MasterTableView.FilterExpression = filterExpression
 RadGrid1.MasterTableView.Rebind()
End Sub

My question is this:  What if I have 5 columns, each wtih its own filter (some textbox, some combo, some checkbox), and they are all already set to some filter values respectively.  Looking at the above codes, it would seem that when we select a filter value from FilterCombo, the grid will rebind using ONLY the filterExpression that is associated with the FilterCombo while ignoring the filter values of all the other columns. Is that true?  If so, then it is undesirable. 

What can I do, so that within the FilterCombo_SelectedIndexChanged event, I can evaluate the existing filter values of all other filtering columns, and then combine them all into a comprehensive MasterTableView.FilterExpression ?

Thanks!
Tsvetina
Telerik team
 answered on 01 Feb 2011
1 answer
149 views
i have an existing app. (vs2010 pro., iis7(running local), apppool integrated - .net 4.0..tried 3.5 still doesn't fix it).  Whe i tried add a sample page for the RAD treeview control and run my app (local) i get this error: '~/Telerik.Web.UI.WebResource.axd' is missing in web.config

i searched the forum about adding the ref. to httphandles.  right click on the script mgr. add ref.  now when i try to run the app in debug i now get this: Unable to start debug on web server.    No matter what lines i add or remove from the handler as soon as i add Telerik_Web_UI_WebResource_axd it crashes. 

this is my system.webserver

<system.webServer>
<
handlers>
<
remove name="WebServiceHandlerFactory-Integrated" />
<
remove name="ScriptHandlerFactory" />
<
remove name="ScriptHandlerFactoryAppServices" />
<
remove name="ScriptResource" />
<
add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<
add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<
add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<
add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</
handlers>
<
validation validateIntegratedModeConfiguration="false" />
<
defaultDocument>
<
files>
<
clear />
<
add value="default.aspx" />
<
add value="Default.htm" />
<
add value="Default.asp" />
<
add value="index.htm" />
<
add value="index.html" />
<
add value="iisstart.htm" />
</
files>
</
defaultDocument>
</
system.webServer>

 

Nikolay Tsenkov
Telerik team
 answered on 01 Feb 2011
1 answer
83 views
When I use image the url is:
http://localhost/MyApplication/Images/Image.jpg

and after uploading image from RadEditor the url returned from RadEditor becomes
/MyApplication/Images/Image.jpg

I've used StripAbsoluteImagesPaths="true" in RadEditor.
My Telerik verion is 2010.1.309.35

I want the image url should be relative like this:
Images/Image.jpg


Regards,
Daud.
Rumen
Telerik team
 answered on 01 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?