Silver Hawk – A Silverlight Game
Posted on April, 8 at 3:30 pm
Silver Hawk is my first silverlight game which i have developed a year ago in Silverlight 2.0. This game is also featured in “Server Quest Competition” conducted by Microsoft and stood as one of the top rated game.
Here you go :
and some more Games developed by us. Read the rest of this entry »
Categories : Games, Silverlight
Tags : Silver Hawk, Silverlight Game
Author : Kranthi Gullapalli
Export DataTable to Excel in Asp.Net without using excel interop – Part II
Posted on April, 20 at 1:38 pm
In my earlier post i have shown a way to export a datatable as a excel document. But when we open the exported document, the data and all would be as expected but the gridlines that excel displays by default would be hidden. So again see these the user had to go to ribbon View Tab and should check the GridLines Checkbox to view those gridlines. But my reuirement was to enable them by default so that user would be comfortable as it would be the defaukt behavior of excel. Also I had to set the worksheet name. So to achive these two functionalities I had to modify the method “ExportToExcel” from my previous implementation.
Categories : ASP.Net, DotNet, MS Excel
Tags : Export to Excel, export to excel with grid lines, Filters for table headers, Set worksheet name while export
Author : Phani Bitra
Export DataTable to Excel in Asp.Net with sorting/filtering support without using excel interop
Posted on January, 13 at 2:33 pm
Recently I had a requirement for exporting a datatable to excel. This looks fairly simple to do as microsoft provides interop api to automate generation of excel, but the issue I had was I cannot use the interop api on the hosting I currently have. Another option i had was to generate the excel document using the OpenXML, but my requirement is to support even excel 2003 so this option is ruled out. Knowing the fact that excel can interpret Html table and render contents, I started of by generating equivalent Html table for the datatable and writing the content back with content type of excel. So this document can be opened using excel by default, but the only issue is it shows up a warning before opening. Later I also had a requiremnet to have Sorting/Filtering features which normally exists for a default table in excel. This was a bit tricky. Below is the source code walkthrough: Read the rest of this entry »
Categories : ASP.Net, DotNet
Tags :
Author : Phani Bitra
How To: Insert table into word document from asp.net applicaiton
Posted on January, 13 at 12:35 pm
In my previous article i’ve explained how can we export data from asp.net application to a word document. If you have not read that article, i would recommend to read that article once.
In this article i would like to explain how can we insert a table from asp.net application.
Lets consider we have List (List of users) in our application and we need to export this data as a table into the word document, below is the procedure to do that.
Read the rest of this entry »
Categories : ASP.Net, MS WORD
Tags : ASP.Net, Automation, Insert Table, MS Word
Author : Kranthi Gullapalli
Interesting facts of equality operators in javascript
Posted on January, 13 at 7:25 am
Equality operators are operators that compare two values to determine whether they are identical or different and return a boolean (true or false) depending on the result of the comparison. For equality comparison we have two operators in javascript one is Equals(==) operator and the other is Strict Equals(===) operator.
Categories : ASP.Net, Basics, Javascript, Jquery
Tags : equals operator, javascript, strict equals operator, type coercion
Author : Phani Bitra
Export data from ASP.NET application to WORD Document
Posted on January, 9 at 9:18 am
Here is an article which explains how to insert data into word document using asp.net application, I was searching on net for exporting data into word but most of them (almost all of them) where using Response.Write and setting the content header type to word which will save the content to word document but we will not have full control on the exported content, i.e. it will be very difficult to control the styling of exported text. Read the rest of this entry »
Categories : ASP.Net, MS WORD
Tags : Export Data from ASP.NET To Word Document
Author : Kranthi Gullapalli
CSS Tip – DIV 100 percent height
Posted on December, 1 at 7:35 am
I always use to think how i can make height of div 100% as i can do this with table, but today suddenly/accidentally when i have given min-height as 100% to div it worked ![]()
Then i tracked how this worked, this works only when parent container height is 100%, after doing this i found a scrollbar on the page with div of 100 percent height and made margin to ’0px’ for body and html tags then it was a complete div with 100 percent height
Read the rest of this entry »
Categories : Basics, HTML/CSS
Tags : HTML DIV 100% PERCENT HEIGHT
Author : Kranthi Gullapalli
Advanced Repeater – Basic Version with Paging, Filtering and Flexible Page Size
Posted on November, 19 at 4:38 pm
In this article i would like to introduce the Repeater Control with advanced features such as Pagination, Filtering and Flexible Page Size Setting. As Title suggests this is Basic version of Control “Advanced Repeater”. I am planning to write another article of Advanced Version of Advanced Repeater which will be having all basic features plus added features like Re-Ordering Columns, Sorting and few more features.
As many of us say its to better to go for a repeater rather than a gridview in asp.net because gridview supports paging sorting etc.. and we all know that performance wise repeater is far more better than gridview. So i’ve tried implementing the major functionalities which girdview supports using Repeater. Hence this solution “Advanced Repeater”
Categories : ASP.Net, DotNet
Tags : Advanced Repeater, Filtering, Paging
Author : Kranthi Gullapalli
Working with URL Parameters in Javascript
Posted on November, 8 at 6:16 pm
After long time i again got opportunity to work on javascript for one of my project and i had a requirement to change the Query String parameters in the webpage URL. While creating the method for this requirement, i thought to create a Helper Javascript file which would handle Add, Update and Remove Query String Parameter in URL. You can download the JScript Helper file using the link provided at the end of this post
. Read the rest of this entry »
Categories : Basics, Javascript
Tags : Javascript Query String Helper File, URL Parameters Javascript
Author : Kranthi Gullapalli
Calling WCF REST Service from Jquery causes 405 method Not Allowed
Posted on November, 3 at 8:40 am
“Accessing WCF from Jquery” this may look like very simple task in our day to day development. But when I’ve started this simple task, it was not looking like a simple task anymore
. After a good amount of research and development, i found solution and also i got good amount of knowledge on REST, WCF and Creating Custom Behaviors for WCF web service.
Lets dive into my requirement which caused problem and hence this solution. I have one REST Enabled WCF SErvice hosted on IIS and i need to consume this REST based webservice using Javascript(JQuery) in my client application running on ASP.NET Development Server.
Read the rest of this entry »
Categories : CORS (Cross Origion Resource Sharing), Javascript, Jquery, REST, WCF
Tags :
Author : Praneeth
Column already belongs to another DataTable – Error
Posted on October, 21 at 2:10 pm
While working on DataTables, i’ve encountered this error and this error. We will get this error when we try to add a DataColumn of one DataTable to another DataTable because the current column is already linked to its parent table and when you try to add it to another it says “Column already belongs to another DataTable”. Read the rest of this entry »
Categories : ASP.Net, Basics, Error
Tags : Column alreay belongs to another DataTable
Author : Kranthi Gullapalli
