.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

encrypt aspx page at client side view source

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :.NET Framework
 
how can we encrypt ASPX page at client side view source ? So that nobody can see my controls and links.



View Complete Post


More Related Resource Links

Populate Treeview upon entered criteria and page action without complete page posting on client side

  

1. I have a treeview on left side in a panel in my aspx page and I have a Text box and a Search button on the right panel. On entering a search criteria and clicking the Search button, I want to get the data needed for the treeview (FYI - I have a webservice call for that) and then populate the treeview completely but keep it collapsed to the root node.

  Each time I enter the search criteria and click the Search button, I don't want to post the entire page (and also don't like the page flicker), how can I achieve this? I know that in order to avoid complete postback upon Search button click, I can do so by client callback and get the data needed for the treeview, but in this case, I have to build the treeview nodes as table - row/cells and handle all the events and handlers myself, which I want to avoid (also means that I won't be able to take advantage of the inherent expand and collapse capabilities of the Treeview). On the other hand, if I use the OnTreeNodePopulate event handling of the Treeview control, using the C# script code on the aspx markup, it doesn't recognize the entered criteria in the Text box. So either way,

Calling Serverside PageMethod function from an external page Client Side Code ?

  
there is many examples on the net about this issue .like this :http://sappidireddy.wordpress.com/2008/03/31/how-to-call-server-side-function-from-client-side-code-using-pagemethods-in-aspnet-ajax/But all javascript codes are in same aspx file including codebehind WebMethodsI wantto call a pagemethod from a js which is in another page.something like this : (javascript code but not in same aspx)PageMethods("www.externalpage.com").GetContactName(ctrl.value, CallSuccess, CallFailed, dest)).or calling WebMethods from javascript must only be defined in codebehind with linked aspx fileonly avaible in same aspx ?cant I call a Webmethod in a.aspx from a javascript in b.aspx ?any clue ?thanks.

SharePoint Designer 2007 - Customize List View - Error when saving view ASPX page

  

We have a custom list definition that includes custom site columns.  When we try to open one of the list view aspx pages in SharePoint to update the view query we get an error when trying to save the page in SharePoint Designer 2007.  We receive a warning that the operation will customize the page from the site definition, which is fine.  And then get a general "Server error: ServiceRequestorID" alert.  ServiceRequestorID is a custom site column used by the list definition.

ServiceRequestorID field definition:

<Field ID="{FA39D24D-AB40-4b1d-BD80-94ABE34A7578}" Name="ServiceRequestorID" DisplayName="Service Requestor ID" StaticName="

How to encrypt aspx page in application , any help and suggestion ???

  

Hi ,
For security reason , 
How to encrypt my aspx page code in my application ?
Any Other suggestion where we can encrypt in our application, encryption can be done in application like connection string etc?
Thanx in advance ...


Hi ,

For security reason , 

How to encrypt ,  aspx page code in application ?

Any Other suggestion where we can encrypt in our application, encryption can be done in application like con

get ip address in asp page - client side

  

hi all i use all ways i found on the Net to get client IP  address or PC name  (client side IP)  in asp.net  page but always i have server IP

im behind proxy 

is there a way to do that and get actual IP and PC of  client or visitor  of my site - i don't want outer visitor IP  i want the employee IP  in my LAN


how to trigger separate client-side functions on completion of different Updatepanels on same page

  

Hi,

I have one updatepanel1 on my page and i trigger a javascript function on completion using the function below:

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(jscriptFunction);

Now I have to add one more - udpatepanel2 in the same page, for which a different javascript function has to be triggered on completion..

Is it possible? Please share your ideas...


Register a script block to page without added to view source

  

Hi Experts,

I want to know do is there any way to register a script block to web page without the script code is added to view source?

Thanks


how to select Tree View Client Side using jquery and get.....

  

how to select Tree View Client Side using jquery and Show  select text and his parent Text


Having trouble filtering data view inserted on DispForm.aspx by field value already on the page.

  
I have a DispForm.aspx page showing, of course, the names and values of fields of an item within a custom list that I have created.

I have inserted a dataview of another custom list onto this page.  Of course, when doing so, SharePoint Designer allows you to create a filter for this view.

I would like to filter this dataview using a value of a field of an item of the FIRST custom list (a value already shown on this page).

I mistakenly thought creating a data view parameter of "Form" source was the solution, but it is not.

Is there a way I can capture data appearing on the page (from the original DispForm) and use this value as a filter?

Any assistance would be most helpful.

Server Side Javascript in ASPX page

  

Hi,

We have a Classic ASP application. We need to migrate this Classic ASP application to ASP.net.

We have extensevly used Server side Javascript in our Classic ASP Pages.

Basically we have mix of both VBScript and Javascript in same ASP pages.

Need help in migrating such ASP pages (using serverside VBScript and Javascript).

Migrated Code samples will be most welcome.

For migration,  we are planning to use : ASP to ASP.NET Migration Assistant

Example below -

  • Sample.htm : These kind of HTML pages are hitting ASP pages to get response from server.
  •  

    <html> 
    <head> 
    <script> 
    var strURL = "http://localhost/Samples/"; 
     
    function test0(methodType){ 
     
            var oRequest = new ActiveXObject("Msxml2.XMLHTTP"); 
            var url = strURL + "Sample.asp";  
             
            oRequest.open(methodType,url,false);  
            oRequest.send(null);  
     
            var resp = oRequest.responseText; 
             
            alert(resp); 
    } 
     
    </script> 
     
    </head> 
    <body> 
    <input type=button onClick="test0('GET')" value="Click me - Get Method"/> 
    <br><br> 
    </body> 
    </html>
    • Sample.asp : This is sample ASP page where we are using both servreside VBScript

    Server Side Javascript in ASPX page

      

    Hi,

    We have a Classic ASP application. We need to migrate this Classic ASP application to ASP.net.

    We have extensevly used Server side Javascript in our Classic ASP Pages.

    Basically we have mix of both VBScript and Javascript in same ASP pages.

    Need help in migrating such ASP pages (using serverside VBScript and Javascript).

    Migrated Code samples will be most welcome.

    For migration,  we are planning to use : ASP to ASP.NET Migration Assistant

    Example below -

    • Sample.htm : These kind of HTML pages are hitting ASP pages to get response from server.

     

    <html>
    <head>
    <script>
    var strURL = "http://localhost/Samples/";
    
    function test0(methodType){
    
    	var oRequest = new ActiveXObject("Msxml2.XMLHTTP");
    	var url = strURL + "Sample.asp"; 
    	
    	oRequest.open(methodType,url,false); 
    	oRequest.send(null); 
    
    	var resp = oRequest.responseText;
    	
    	alert(resp);
    }
    
    </script>
    
    </head>
    <body>
    <input type=button onClick="test0('GET')" value="Click me - Get Method"/>
    <br><br>
    </body>
    </html>
    • Sample.asp : This is sample ASP page where we are using both servreside VBScript and Javascript.

     

    &

    Use jQuery and ASP.NET AJAX to build a client side Repeater

      
    By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

    Client Side Gridview Pagination using JQuery

      
    I would like to show how to use Client Side Gridview Pagination using Jquery Table Pagination Plugin by using Ryan Zielke.

    Use jQuery and ASP.NET AJAX to build a client side Repeater

      
    By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

    To that end, I'm going to walk you through these four steps to effectively implementing a client side Repeater, using ASP.NET AJAX and jQuery:

    Use jQuery and ASP.NET AJAX to build a client side Repeater

      
    By sending only data to the client, you can profoundly reduce the size of what you send and see a substantial increase in performance. You also allow yourself the ability to easily add features like light-weight sorting and paging on the client. This can not only improve your users' experience, but reduce server load and bandwidth requirements.

    Adding Client-Side Confirmation When Deleting

      
    The JavaScript confirm(string) function displays its string input parameter as the text inside a modal dialog box that comes equipped with two buttons - OK and Cancel (see Figure 1). The confirm(string) function returns a Boolean value depending on what button is clicked (true, if the user clicks OK, and false if they click Cancel).

    Launch CMD File From ASPX Page

      

    My organization uses a CMD file to install updated files for a major enterprise application. Currently, we send out an email to users with a link to the file and instructions to run it, BUT inevitably users don't update their machines until their in field and try to start the app.

     

    We're now liking the idea of using an ASPX page to prompt the users to run the updates and to capture the fact that the updates have been run. I realize that we can't capture the success or failure of the update. But we'd like to capture the user accessed the page.

     

    Is it possible to embed into the markup for the page a link to the file on the local intranet that the users can click on to run the file?

    The user accessing the page would capture that they did just that. We'd deal with wether or not the update was actually installed or if it failed later with them directly.


    Categories: 
    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend