ASP.net fast code search
Only asp.net code search
Re: how to show girdview in ajax panel
aoshi_kh

 i have try set the PostBackOptions = false; but it still can work, please advice on this. Thanks

Re: DataSvcUtil do not work ! :(
Mikesdotnetting

[quote user="MarcosBR"]

"ASP.NET 3.5 Extensions Preview" section, where says also: ASP.NET MVC, ASP.NET Controls for Silverlight, ASP.NET Dynamic Data, ADO.NET Entity Framework, ADO.NET Data Services

So, I guess it is the rigth place

[/quote]

What it actually says is

[quote]

ASP.NET 3.5 Extensions Preview
Setup issues and general questions regarding this release. For specific topics use ASP.NET MVC, ASP.NET Controls for Silverlight, ASP.NET Dynamic Data, ADO.NET Entity Framework, ADO.NET Data Services or the ASP.NET AJAX UI forum.[/quote]

Re: how to show girdview in ajax panel
aoshi_kh

actually my page have 2 gridview, 1 in outside the updatePanel, the other 1 in inside the updatePanel. when user click on the linkbutton from the gridview outside updatePanel, i want to show the 2nd gridview data. But my point here is the page cannot refresh. can i did this? thanks 

Re: how to show girdview in ajax panel
Rockon27

go toupdate panel's ->properties->Triggers (Collection)->add Asyncpostback trigger for you submit button. Mention 'ControlID' as your submit button's id and 'EventName' as 'Click'.

 then set update panel's ->properties->UpdateMode->Conditional.

Now when you click on submit button the gridview under updatepanel will get refreshed without refreshing your page.

Try this and let me know if you have any questions.

 

 

 

 

 

 

Re: ajax control minify with js and css
kirank28

hi malcolms,

if i use the vs2008 instead of vs2005 (converting my application 05 to 08 )

then will it benifitial for me , coz on vs2008 ajaxcontroltool kit is allready minify and its a new version also

then vs2005 (ajax dll)

how much its useful can u give me some help around it

thax

Re: Webservice to list all cities in USA
qwe123kids

Hi,

if you are talking about extended Dropdown list then

http://www.codeproject.com/KB/custom-controls/ajaxdropdownlist.aspx

OR

Ajax.net..

http://www.asp.net/learn/ajax-videos/

Re: Remove server Error on HttpWebResponse
kirank28

yes i have seen it , but its not compressing aut generated(runtime ) css and js

for ex(ajax tab controler ) and all .


wil it  work for same  , have u done this before ,can i see that any example


thanx

Re: AjaxControlToolkit is undefined when browsing to sample web
see7a

[quote user="jfpal3"]If you were recieving "AjaxControlToolkit is undefined" error, simply add the CombineScripts.ashx file (from the Ajax SampleWebSite Project) to the root folder of your project. Then set CombineScripts to True in the script manager.  An that's all.[/quote]


Actually what worked for me is slightly different than the original workaround by mcbit:

  1. Add CombineScripts.ashx to project; I did that on root folder of my web application
  2. Change script manager tag to be: <ajaxToolkit:ToolkitScriptManager runat="server" ID="scrptMngr" CombineScripts="true" CombineScriptsHandlerUrl="~/CombineScriptsHandler.ashx" />

The difference is that I did not change anything in web.config Handlers section. Accordingly, I refrenced the ashx file directly in script manager tag instead of CombineScripts.axd

I'm not sure which way is better but I could not get it to work using web.config, maybe I just didn't know the correct values to use in the handler tag (assembly, namespace...)

Re: Grid view inside grid view(or table)
manoj0682

just check below links

Developing Multicolumn-DropDown/DropDownList with ASP.NET, the GridView and the AJAX Control Toolkit
http://www.thomasclaudiushuber.com/blog/2008/07/31/developing-multicolumn-dropdowndropdownlist-with-aspnet-the-gridview-and-the-ajax-control-toolkit/ 


Creating an ASP.NET GridView Custom Field of type DropDownList

http://www.codeproject.com/KB/webforms/GridViewComboBoxField.aspx
Asp.net-Ajax with JavaScript
Eyla

Hi,
I need help in how to set webform control proprieties in asp.net and ajax control using javascript. 
I have asp page that has checkBox, TextBox, MaskedEditExtender, and RegularExpressionValidator.
I set  the mask  for MaskedEditExtender as   Mask="(999)999-9999" and I set    the ValidationExpression    for RegularExpressionValidator  as ValidationExpression="\d{10}".
I want to change these two properties when user checked the  international checkbox to: Mask="999999999999" and as ValidationExpression="\d{12}" 
Using  JavaScript without interrupting with server side and when the user unchecked they get previous value  so the interaction should be only in the client side.
Please help me with this and here is my code: 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:CheckBox ID="chkIntphoneHome" runat="server"  Text="Internation Code" 
                AutoPostBack="false"/>
                
            <asp:TextBox ID="txtHomePhone" runat="server"></asp:TextBox>
                
            
        <cc1:MaskedEditExtender ID="txtHomePhone_MaskedEditExtender" runat="server" 
            AutoComplete="False" CultureAMPMPlaceholder="" 
            CultureCurrencySymbolPlaceholder="" CultureDateFormat="" 
            CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
            CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
            Mask="(999)999-9999" TargetControlID="txtHomePhone">
        </cc1:MaskedEditExtender>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ErrorMessage="RegularExpressionValidator" ControlToValidate="txtHomePhone" 
            ValidationExpression="\d{10}"></asp:RegularExpressionValidator>        
            
    </div>
    </form>
</body>
</html>
Hi,
I need help in how to set webform control proprieties in asp.net and ajax control using javascript. 

I have asp page that has checkBox, TextBox, MaskedEditExtender, and RegularExpressionValidator.

I set  the mask  for MaskedEditExtender as   Mask="(999)999-9999" and I set    the ValidationExpression    for RegularExpressionValidator  as ValidationExpression="\d{10}".

I want to change these two properties when user checked the  international checkbox to: Mask="999999999999" and as ValidationExpression="\d{12}" 
Using  JavaScript without interrupting with server side and when the user unchecked they get previous value  so the interaction should be only in the client side.

Please help me with this and here is my code: 

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:CheckBox ID="chkIntphoneHome" runat="server"  Text="Internation Code" 
                AutoPostBack="false"/>
                
            <asp:TextBox ID="txtHomePhone" runat="server"></asp:TextBox>
                
            
        <cc1:MaskedEditExtender ID="txtHomePhone_MaskedEditExtender" runat="server" 
            AutoComplete="False" CultureAMPMPlaceholder="" 
            CultureCurrencySymbolPlaceholder="" CultureDateFormat="" 
            CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
            CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
            Mask="(999)999-9999" TargetControlID="txtHomePhone">
        </cc1:MaskedEditExtender>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ErrorMessage="RegularExpressionValidator" ControlToValidate="txtHomePhone" 
            ValidationExpression="\d{10}"></asp:RegularExpressionValidator>        
            
    </div>
    </form>
</body>
</html>