Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all 5678 articles
Browse latest View live

AjaxControlToolkit 4.0 VS 2010 No Source Available error

$
0
0

I coverted a VS 2008 project to VS 2010.  I then downloaded and installed the AjaxControlToolkit for .net 4.  When I run in debug mode I get an the following error.  Any suggestions would be appreciated.  The code worked in VS 2008 .net 3.5. 


No Source Available

There is no source code available for the current location.


Call stack location:

AjaxControlToolKitDLL!AjaxControlToolkit.ToolkitScriptManager.OnLoad(System.EventArgs e) Line157

Source file information:

Locating source for 'd:\hg\act\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'. Checksum: MD5 {c1 d2 e2 8c cd 4b 65 11 35 53 7f f5 e3 3b 76 58}

The file 'd:\hg\act\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs' does not exist.

Looking in script documents for 'd:\hg\act\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'...

Looking in the projects for 'd:\hg\act\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'.

The file was not found in a project.

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\crt\src\'...

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\src\mfc\'...

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\src\atl\'...

Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\'...

Looking in directory 'C:\'...

The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: d:\hg\act\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs.

The debugger could not locate the source file 'd:\hg\act\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs'.


Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

$
0
0

Good Day 

I am using Ajax-manager

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"><AjaxSettings><telerik:AjaxSetting AjaxControlID="paymentTypeList"><UpdatedControls><telerik:AjaxUpdatedControl ControlID="paymentTypeList"  ></telerik:AjaxUpdatedControl><telerik:AjaxUpdatedControl ControlID="tbxChargeAmount"  ></telerik:AjaxUpdatedControl></UpdatedControls></telerik:AjaxSetting>

 


 now this works on Chrome  but not in IE, in IE 10 it gives me an error 

 

 

SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
Accounts.aspx
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.
Telerik.Web.UI.WebResource.axd, line 9 character 15475

more Info again 


Unhandled exception at line 2610, column 1 in http://localhost:58443/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2012.2.607.40,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:08ccafd1-fc13-48c0-b85b-a439ce2f6884:16e4e7cd:86526ba7:874f8ea2:ed16cbdc:f7645509:24ee1bba:7165f74:58366029:1e771326:f9b9258;AjaxControlToolkit,+Version=4.1.50927.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c95f669f-226b-4768-8ab5-43ac217de4dd:923aa3cc:853c2e0b:f9ae838a:782b16ab:d754780e:1e088fb:52c703eb:46f97eb1:50114f04:f48dface:28a7831e
0x800a138f - JavaScript runtime error: Unable to get property 'id' of undefined or null reference

 

I am using IE10 

 Thanks 

 

ReorderList Post Values

$
0
0

When doing a simple reorder operation (i.e. dragging and dropping an item to a new position) using the ReorderList control, the ENTIRE CONTENTS OF THE PAGE get posted back to the server.  If you have even a couple of controls within your <ItemTemplate> the size of the Request data for a simple reordering operation can get very large and time consuming.

Is there any way to configure the ReorderList (or any other method) so that it only posts the data that is necessary to perform the operation (i.e the starting and ending position of the item being moved).

Thanks

Accordion control

$
0
0

i have 2 pane in my Accordion  i have a button in pane1 i want to open pane 2 on button click.

i try to make AccordionPane2.visible = false on page load and make it visible on btton click but by doing this only pane 2 header is open not the content...

what to do for opening whole pane 2 on button click

How to open content of accordion control on header mouseover

$
0
0

I am using Ajax accordion control in my web site.

Currently I need to click on header to open its content.

But I want to show its content just mouseover on header without clicking on header.

Does accordian control has any inbuilt property for it or need to code for this?

how can I do that? Also provide sample code or any reference if possible.

pls guide.

Thanks in advance.

Accordion Control

$
0
0

Have 2 pane in my Accordion Control .

Is it possible to open pane 2 by any button click event .

I dont want to open it by clicking on header

tab container help

$
0
0
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" UseVerticalStripPlacement="true"
    VerticalStripWidth="100px"><cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="TabPanel1"
        Height="350"><ContentTemplate>
            Tab 1</ContentTemplate></cc1:TabPanel><cc1:ID="TabPanel2" runat="server" HeaderText="TabPanel2" ToolTip="Tooltip_TabPanel2"
        Height="350"><ContentTemplate>
            Tab 2</ContentTemplate></cc1:TabPanel></cc1:TabContainer>

how to make the side button tab panel 1 and tab panel 2 become bigher, how to chg the size of button

Ajax Control toolkit calendar extender in asp.net 4.5

$
0
0

Hi Experts, I am using ajax control toolkit's calander exter in asp.net 4.5, however I get following two errors and calander does not show up.

Error 1 : Error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll


Error 2 : 'Sys.Extended.UI' is null or not an object

Code

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm4.aspx.cs" Inherits="WebApplication2.WebForm4" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title></head><body><form id="form1" runat="server"><div><asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager><asp:CalendarExtender ID="CalendarExtender1" TargetControlID="txtDate" runat="server"></asp:CalendarExtender><asp:TextBox ID="txtDate" runat="server"></asp:TextBox></div></form></body></html>




Updatepanel does not execute complete code

$
0
0

Hi,

I am using an updatepanel together with a UpdateProgress and ModalPopupExtender to show a "Loading" page when a button is click to synchronize with the server. The primary goal is to avoid that visitors can click twice during the execution of the code. As there are more buttons on the page, I use ModalPopupExtender to show a page-wide overlay.

Before I used this updatepanel the code behind worked fine. But since the updatepanel was added it seems that the codebehind is not completely executed. Do I miss someobvious?

<asp:UpdateProgress runat="server" ID="upLoading" DisplayAfter="0" DynamicLayout="true"><ProgressTemplate><div class="LoadingPopUpBackground"><div class="LoadingPopUp"><asp:Image ID="imgLoading" runat="server" AlternateText="Loading" ImageUrl="~/images/loader.gif" ToolTip="Loading" /><br /><asp:Label ID="lblLoadingMessage" runat="server" Text="Loading . . ." CssClass="LoadingText" /></div></div></ProgressTemplate></asp:UpdateProgress><ajaxToolkit:ModalPopupExtender ID="modularProcessing" runat="server" TargetControlID="upLoading" PopupControlID="upLoading" DropShadow="false" /><asp:UpdatePanel ID="upForwarding" runat="server"><ContentTemplate><asp:Button ID="btnForwarding" runat="server" Text="Forward" /><&nbsp;&nbsp;&nbsp;<asp:Button ID="btnForwardingCancel" runat="server" Text="Cancel" /></ContentTemplate></asp:UpdatePanel>

Thanks!

Is it possible to design the embedded windows media player?

$
0
0

Hi, i am a beginner at asp.net. Currently, i have been trying to design my embedded windows media player to a simulated design that my company wants. I have been researching about designing windows media player control but i couldn't find any. 

I wanted to know if i could decorate with a border or banner to the embedded windows media player control.

Combo box button inherit the element.style Css

$
0
0

Hi  i have a combo box which is present inside of the div which is hidden. when i click the image the div should appear with the combo box. But while i click the link the combox button height and width inhert from element.style. how to avoid this?

.tabelFilter
{
display:none;
}

$(".filterOpen").click(function () {
$(".tabelFilter").show("blind");
});

<a href="#" class="filterOpen"><img src="images/filter.png" alt="filter" align="top">

<div class="tabelFilter" >

<table style="width: 1070px" border="0" cellspacing="0" cellpadding="4" class="GridViewStyle">
<tr>
<td style="width: 100px; text-align: center">
<asp:ComboBox ID="FilterItemCategory" runat="server" Width="50" CssClass="demo"></asp:ComboBox>
</td>
<td style="width: 150px; text-align: left">
</td>
</tr>
</table>
</div>

Ajax Collapsible Panel Control

$
0
0

i hv a grid view with random data and edit button with each row of grid

is this possible to expand panel by clicking on that edit button.

i mn to say can i make edit button's id which is inside itemTemplate  ExpandControlID

AsyncFileUpload in AjaxControlToolKit

$
0
0

my solution contains multiple asyncfile uploader in same page. when  i try to upload file gives

" Server Response Error: 'Unknown Server error'

Do you want to see the response page? "

I have seen that files are uploaded when session configuration set into other than UseUrl . but i want a solution which run session in cookieless mode .

DropshadowExtender Opacity

$
0
0

I just downloaded version 4.1.7.429 of the Ajax toolkit and included into VS2010 Professional.  When I use the DropShadowExtender, I get a strange result.  If I set the Opacity to .5, or .25, or .75, the shadow is a lighter color and not the same color as the background.  Any other setting of Opacity (as far as I've tested) is always the same as 1.0 which is basically black.  set to .25 is a light gray shadow, .75 is a darker gray color, and .50 is a blue color.  I've reinstalled the toolkit, used the ToolkitScriptManager and nothing changes.  It also appears to have rounded edges even though Rounded is set to False.  It is more noticable when width is larger.

Jim 

Accordion without ID

$
0
0

Hello, I installed AjaxControlToolKit from Nuget manager and when I drag an accordion control, it shows like the following;

<ajaxToolkit:Accordion runat="server">

Missing the ID attribute, it`s no big deal since you can manually add the attribute ID. But it would be nice if it act like the other controls.

Tested on: Windows 7 - VS 2012 Ultimate V11.0.60315.01 Update 2

Project: Framework 4.5

Regards.


MaskedEditExtender DateTime not working

$
0
0

I am having a problem with getting the maskededitextender to work on a gridview when editing. the insert part works just fine.  It is throwing a javascript error. "Microsoft JScript runtime error: 'undefined' is null or not an object" if i ignore through the error it displays the time correctly but the time blanks out. if i just continue the entire text box clears out and only shows the mask I inserted the code below

<asp:TemplateField HeaderText="Close Time">

<EditItemTemplate>

<asp:TextBox ID="txtCloseTime" Width="90%" runat="server" Text='<%# Eval("closetime") %>' Height="16px"></asp:TextBox>                  

<asp:MaskedEditExtender ID="txtCloseTime_MaskedEditExtender" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" TargetControlID="txtCloseTime" InputDirection="RightToLeft" ClearMaskOnLostFocus="true" Mask="99/99/9999 99:99" AutoComplete="true" MaskType="DateTime" AcceptAMPM="true" runat="server"></asp:MaskedEditExtender>                                           

<asp:MaskedEditValidator ID="txtCloseTime_MaskedEditValidator" runat="server" ControlExtender="txtCloseTime_MaskedEditExtender" ControlToValidate="txtCloseTime" IsValidEmpty="False" EmptyValueMessage="*required " InvalidValueMessage="Close time is invalid" ValidationGroup="groupone" Font-Size="XX-Small"/>

</EditItemTemplate> 

<FooterTemplate>

<asp:TextBox ID="txtNewCloseTime" Width="80%" runat="server" Height="16px"></asp:TextBox>

<asp:MaskedEditExtender ID="txtNewCloseTime_MaskedEditExtender" runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" TargetControlID="txtNewCloseTime" InputDirection="RightToLeft" Mask="99/99/9999 99:99" AutoComplete="true" MaskType="DateTime" AcceptAMPM="true"> </asp:MaskedEditExtender>

<asp:MaskedEditValidator ID="txtNewCloseTime_MaskedEditValidator" runat="server" ControlExtender="txtNewCloseTime_MaskedEditExtender" ControlToValidate="txtNewCloseTime" IsValidEmpty="False" EmptyValueMessage="*required " InvalidValueMessage="Close time is invalid" ValidationGroup="grouptwo" Font-Size="XX-Small"/>

</FooterTemplate>

<ItemTemplate>

 <asp:Label ID="lblCloseTime" Width="60%" runat="server" Text='<%# Bind("closetime") %>'> </asp:Label>

</ItemTemplate>

<FooterStyle />

<HeaderStyle HorizontalAlign="Center" />

<ItemStyle HorizontalAlign="Center" />

</asp:TemplateField

 

How to get the updatepanel updated in user control?

$
0
0

Hello,

I am using updatepanel within a user control (serves as my every page's menu) to create a count down session warning:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Me.lblSessionRemaining.Text = "Session Remaining Time in Minutes: 30"

            If Not ScriptManager1.IsInAsyncPostBack Then
                Session("timeout") = DateTime.Now.AddMinutes(30).ToString() 'Session expires in 30 minutes
            End If
        End If

    End Sub

    Protected Sub Timer1_Tick(ByVal sender As Object, ByVal e As EventArgs) Handles Timer1.Tick
        If Not Session("timeout") Is Nothing Then
            If 0 > DateTime.Compare(DateTime.Now, DateTime.Parse(Session("timeout").ToString())) Then
                lblSessionRemaining.Text = "Session Remaining Time in Minutes: " & Math.Floor(CType(Session("timeout"), DateTime).Subtract(DateTime.Now).TotalMinutes)
            End If
        End If
    End Sub

<asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true"  runat="server"></asp:ScriptManager><table class="style1"><tr><td>
            Logo Here</td><td>
            User info<table class="style1"><tr><td>
                        User:<asp:Label ID="lblUsername" runat="server" Text=""></asp:Label></td></tr><tr><td>
                        User Department:<asp:Label ID="lblDeparment" runat="server" Text=""></asp:Label></td></tr>                <tr><td>
                        Last Signon:<asp:Label ID="lblLastSignOn" runat="server" Text=""></asp:Label></td></tr><tr><td>
                        Last failed signon attempt:<asp:Label ID="lblLastFailedSignOn" runat="server" Text=""></asp:Label></td></tr></table></td><td><asp:UpdatePanel 
                ID="UpdatePanel1" runat="server" UpdateMode="Conditional"><ContentTemplate>
                    Session Remaining:<asp:Label ID="lblSessionRemaining" runat="server" Text=""></asp:Label></ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" /></Triggers></asp:UpdatePanel></td><td><asp:Button ID="btnSignOff" runat="server" Text="Sign Off" /></td></tr></table><asp:Timer ID="Timer1" runat="server" Interval="1000"></asp:Timer>

I followed Microsoft's suggestion to use EnablePartialRendering="true"  in <asp:ScriptManager definition


How To implement Repeator Control inside SlideShowExtender

$
0
0

I am vaving an requirement of Repeator Contol with SlideShowExtender , can any one suggest me how to implement this and aslo how to call the webservice method of sildeshowextender for every itemdatabing event of repeator control .

problem with ajaxcontroltoolkit combobox and jquery

$
0
0

Hi, on my page I've a lot of ajaxcontroltoolkit comboboxes. The problem I've is that I should capture when a value of one of the combos is changed to check it with a value, and if it is correct enable another combo.

I've been looking info about it on google but I haven't found nothing that works, all I've found is for a dropdown. I've found a possible solution (http://stackoverflow.com/questions/1457813/how-do-i-bind-a-javascript-event-handler-to-the-ajax-control-toolkit-combobox-wh):

Sys.Application.add_load(initializePage);

    function initializePage() {
        $find('PlantDropDown').add_propertyChanged(function(sender, e) {
        if (e.get_propertyName() == 'selectedIndex') {
        var newValue = sender.get_textBoxControl().value;
        // persist selected value here...
        }})
    }

But I haven't been able to do it work.

I've also tried with .val(), .text(), .attr('selectedIndex')

var m = $('#<%= cboHemo.ClientID %>').attr('selectedIndex');
alert(m);



I can't go to server side to check and enable the combos. 

 My aspx code:

<tr><td class="td2camposxfila"><asp:Label ID="lblHemo" runat="server"></asp:Label></td><td class="td2camposxfila2"><asp:ComboBox ID="cboHemo" runat="server" CssClass="combo" AutoCompleteMode="None" 
                                            RenderMode="block" ItemInsertLocation="OrdinalText" DropDownStyle="DropDownList" 
                                            AutopostBack="false" CausesValidation="false" TabIndex="5" ></asp:ComboBox></td><td class="td2camposxfila"><asp:Label ID="lblCateter" runat="server"></asp:Label></td><td class="td2camposxfila2"><asp:ComboBox ID="cboCateter" runat="server" CssClass="combo" AutoCompleteMode="None" 
                                            RenderMode="block" ItemInsertLocation="OrdinalText" DropDownStyle="DropDownList" 
                                            AutopostBack="false" CausesValidation="false" TabIndex="6" Enabled="false" ></asp:ComboBox></td></tr><tr><td class="td2camposxfila"><asp:Label ID="lblTipoCateter" runat="server" Enabled="false"></asp:Label></td><td class="td2camposxfila2"><asp:ComboBox ID="cboTipoCateter" runat="server" CssClass="combo" AutoCompleteMode="None" 
                                            RenderMode="block" ItemInsertLocation="OrdinalText" DropDownStyle="DropDownList" 
                                            AutopostBack="false" CausesValidation="false" TabIndex="5" Enabled="false"></asp:ComboBox></td><td class="td2camposxfila"><asp:Label ID="lblDialisis" runat="server"></asp:Label></td><td class="td2camposxfila2"><asp:ComboBox ID="cboDialisis" runat="server" CssClass="combo" AutoCompleteMode="None" 
                                            RenderMode="block" ItemInsertLocation="OrdinalText" DropDownStyle="DropDownList" 
                                            AutopostBack="false" CausesValidation="false" TabIndex="6" ></asp:ComboBox></td></tr>

Any help will be appreciated. Thanks in advance.

Find the Grid Inside the Tab Container

$
0
0

Hi,

     I am using Toolkit's Tab Container.In that i have placed a gridview control in one of the tab.I am uing Jquery Sort to sort the values in the grid.I can't able to the gridView Control ID via Jquery.Could you guide me in finding the GridView Control inside the TabContainer.?

Regards,

Hsakarp.

Viewing all 5678 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>