First command that I learned when I got pc
is ver & vol
windows still supports these commands. But now I learned a new command
winver.exe
its actually bring About Windows dialog.
that can be run directly from start\run
that gives more information as compare to ver command.
To pass the additional parameter to the event function pass an array of key value, as the second parameter to the bind event bind('click', { message: time }, onClick); e.g { message: time } and access it in the function using event<function parameter>.data.message&... <div id="div1" style="border: 1px solid black; width: 100px; height: 100px">click me</div> <script type="text/javascript"> function onClick(event) { alert(event.data.message); } var time = "loaded at:" ......
Its always time consuming when ever we have to get the row count on the table that includes millions of rows but not any more get the result back b4 an eye complete its blink. EXEC sys.sp_spaceused N'tblename' Replace tablename with the name of your table and see the result. http://www.sqlservercentral... ......
I developed a custom control that utilizing client side functionality also. What I needed is calling client side function on clicking button.
to accomplish this we need to find the clientside object for that we use $find passing clientId of the custom web control as mentioned below.
btn.OnClientClick = string.Format("$find('{0}').add({1});", this.ClientID, ‘add’);
I was using System.Web.UI.WebControls.T... System.Web.UI.WebControlsTa... System.Web.UI.WebControls.T... objects inside LayoutTemplate’s InstantiateIn method that’s inherited from ITemplateas stated below:Table = new Table(); when compile got the following error on the YPOD(Yellow page of Death) 'Table' cannot have children of type 'ListViewDataItem'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information ......