Google

About Me

My Photo
Sameer Khan
Indore, MP, India
View my complete profile

Wednesday, November 25, 2009

Filter Gridview on keypress of textbox in javascript

    <script type="text/javascript" charset="utf-8">
   
   function filter (term, _id, cellNr){
    var suche = term.value.toLowerCase();
    var table = document.getElementById(_id);
    var ele;
    for (var r = 1; r < table.rows.length; r++){
        ele = table.rows[r].cells[cellNr].innerHTML.replace(/<[^>]+>/g,"");
        if (ele.toLowerCase().indexOf(suche)>=0 )
            table.rows[r].style.display = '';
        else table.rows[r].style.display = 'none';
    }
}
</script>
  
     Filter:<input type="text" id="FilterTextBox" name="FilterTextBox" onkeyup="filter(this, 'filterable1', 0)"/>

              
                    <asp:GridView runat="server" ID="filterable1" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="true">
                        <Columns>
                     
                            <asp:BoundField DataField="FirstName" HeaderText="Name" />
                            <asp:BoundField DataField="LastName" HeaderText="LastName" />
                        </Columns>
                    </asp:GridView>

Thursday, November 12, 2009

Global Consulting and Technological Services Provider

All businesses have their unique requirements & no single solution can cater to the requirements of more than one client. Following this philosophy, we at Synsoft are engaged in development of custom software solutions to best-suit our client's requirements. We are engaged in the following kinds of custom development-

* Web-based development : Today's era is of internet presence. We help your company attain a good online presence by making a good web site to suite your industry requirements.

* Desktop-development : We develop all kinds of desktop applications to suite the needs of our clients.

* Mobile applications : As a step towards coping with the new emerging technology, we have undertaken the development of mobile applications.



Application Development

* Windows Application(Win Form/WPF), Windows Services
* Web based Application
* Web Services (WCF)
* CMS
* E-commerce Application(Paypal,Google Checkout,Authorize.net,BrainTree,TransNational )
* Mobile Web Application
* Custom Web Controls
* Application Support


Development Technologies

* .NET 1.1/ 2.0/3.0/3.5 [VB.NET, C#, ASP.NET, ADO.NET,Web Services,WPF,WCF,LINQ,Silverlight]
* HTML/DHTML, XHTML, XHTML-MP, Asp, JavaScript, CSS , XML, XSL
* Ajax
* PHP(Core PHP, Joomla, OsCommerce,Zend Framework, Drupal, AJAX)
* Visual Basic 6.0, VBA
* C,C++
* RSS, RDF

Database Technologies

* SQL Server 2000/2005/2008 (SQL Server Reporting Services)
* MS Access
* Oracle
* MySql


For outsourcing & offshore development if you have any enquiry then please contact to :- sales@synsoftglobal.com Or please visit www.synsoftglobal.com

Saturday, November 8, 2008

want to know about a mobile website

All you want to know about a mobile website got to the below mention link
http://www.codeproject.com/KB/mobile/All-about-a-mobile-websit.aspx
and
http://worldofasp.net/tut/XHTM_L-MP/Basics_of_XHTML-MP_178.aspx

Wednesday, July 9, 2008

State Managment

  • Viewstate
  • Session Variables
  • Application Variables
  • Cache
  • Cookies

Now the question arises that when to use what?

1- Viewstate

Viewstate is a hidden fields in an ASP.NET page, contains state of those controls on a page whose “EnableViewstate” property is “true”.

You can also explicitly add values in it, on an ASP.NET page like:

Viewstate.Add( “TotalStudents”, “87″ );

Viewstate should be used when you want to save a value between different roundtrips of a single page as viewstate of a page is not accessible by another page.

Because Viewstate renders with the page, it consumes bandwidth, so be careful to use it in applications to be run on low bandwidth.

2- Session Variable

Session variables are usually the most commonly used.

When a user visits a site, it’s sessions starts and when the user become idle or leave the site, the session ends.

Session variables should be used to save and retrieve user specific information required on multiple pages.

Session variables consumes server memory, so if your may have a huge amount visitors, use session very carefully and instead of put large values in it try to put IDs and references


3- Application variables

Application variables are shared variables among all users of a web application

Application variables behave like static variables and they are substitute of static variables as static variables are stateless in web applications

Only shared values should be persisted in Application variables, and as soon as they are not in use they should be removed explicitly.


4- Cache

Cache is probably the least used state feature of ASP.NET.

Cache is basically a resource specific state persistence feature, means unlike session it stick with resource instead of user, for instance: pages, controls etc.

Cache should be used or frequently used pages, controls, and data structures

Data cache can be used to cache frequently used list of values e.g. list of products

5- Cookies

Cookies are some values saved in browsers by the website to retrivbbe and use afterwards.

Usually cookies are used to help dynamic websites to identify visitors and retrieve their saved preferences.

Cookies are also used to facilitate auto login by persisting user id in a cookie save in user’s browser.

Because cookies have been saved at client side, they do not create performance issues but may create security issues as they can be hacked from browser.


Finally remember the following points on your finger-tips:

  • Viewstate is bandwidth hungry
  • Session variables are memory hungry as per number of users
  • Applications variables are shared
  • Cache is memory hungry as per number of resources
  • Cookies are the least secure

Monday, April 21, 2008

SharePoint Gallary

http://www.microsoft.com/education/slk.mspx

http://sfportal.sfusd.edu/sites/LearningSharepoint/default.aspx

http://office.microsoft.com/en-us/sharepointserver/HA101756051033.aspx