Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #3K
~14.0K People Reached
Interests
travelling...long drives
Favorite Tags

53 Posted Topics

Member Avatar for fawadkhalil

Hi All I have droplistlist populated from database.When i add records everthing is ok with the dropdownlist: but when i edit records it shows duplicate values like High Medium Low Medium how can i romove duplicate values?

Member Avatar for sup1991
0
1K
Member Avatar for fawadkhalil

Hi all I m using asp.net 4.0. In my data list i have used asp image tag like below [CODE] <asp:Image ID="imgSmallPics" runat ="server" ImageUrl ='~/AdsPictures/<%#Eval("pictureName")%>' [/CODE] where AdsPictures is folder where images resides and pictureName is name of image return by query. Image is not shown, when i copy …

Member Avatar for eesha.ebaad
0
2K
Member Avatar for fawadkhalil

Hi Its in fact easy to handle special characters like "%" in query, with just a bit of research one can found solution for this. Today when i checked events for my server i found that one error message and that was because a user searched for " l'atelier " …

Member Avatar for adam_k
0
144
Member Avatar for fawadkhalil

Hi all I have declared a Session variable in web handler i-e .ashx file like below [CODE] int SaleID; HttpContext.Current.Session["tempSaleID"] = SaleID; [/CODE] Now i want to remove this Session variable in class file i-e .cs In normal cases Session variable are removed using [CODE] Session.Remove("SaleID"); [/CODE] but in this …

Member Avatar for Cruize_Invades
0
102
Member Avatar for fawadkhalil

Hi all In my application developed in asp.net 4.0 i am using url routing technique. There is a text box in which user enters title of an ad and this title will be the URL to next page. My problem is when user enters special characters like & or % …

Member Avatar for hericles
0
50
Member Avatar for fawadkhalil

Hi I have a datalist in which i am checking that if product have image then display its image other wise display no image through if condition but its not working. [CODE]<img src='<%# !String.IsNullOrEmpty(Eval("Companylogo").ToString()) ? "../adspictures/no-logo.jpg": "../adspictures/" + Eval("Companylogo") %>'/>[/CODE] It always displays no-logo. Tell me what am i doing …

Member Avatar for sufyan2011
-1
80
Member Avatar for fawadkhalil

Hi In my application i have used master page. I created a web form that DID NOT USE master page. Is it possible that from this form i can access master page controls. If yes then how can i access it?

Member Avatar for fawadkhalil
0
90
Member Avatar for fawadkhalil

Hi all I am using asp.net 4.0 for my application that connects to sql server 2008 via ADO.Net Entity Framework. When there is bit increase in traffic the site goes down. I notice below error in event management [QUOTE]Execution of the command requires an open and available connection. The connection's …

Member Avatar for fawadkhalil
0
651
Member Avatar for praveendasika

You can also add these tags in code behind like below if you are using .net 3.5 or later [CODE]Page.MetaDescription="description";[/CODE]

Member Avatar for fawadkhalil
0
182
Member Avatar for fawadkhalil

Hi all In my application developed in asp.net 4.0 i am using url routing module. Below is the code i used in Global.asax [CODE] void Application_Start(object sender, EventArgs e) { RegisterRoutes(RouteTable.Routes); } private void RegisterRoutes(RouteCollection routes) { routes.MapPageRoute("testpage", "{storename}", "~/Store.aspx"); } [/CODE] I debug my app and put break point …

Member Avatar for dnanetwork
0
59
Member Avatar for fawadkhalil

Hi all I am using URL routing in my application developed in .net 4.0. The urls are without extension i-e .aspx and is working fine on my local machine(win 7) but not working on the server(win 2003). It gaves page not found error. When i add .aspx extension to it, …

0
54
Member Avatar for fawadkhalil

Hi all I used master page in my application and there is a button and text box on it which redirects user to another page. There is also another button and text box for user to login in to his control panel. When i fill up the login form and …

Member Avatar for Ramesh S
0
139
Member Avatar for fawadkhalil

Hi all In my file upload control i uploaded a large image, let say of 3 MB, how can i reduce its file size to kbs. I am also re sizing that image and maintaining its quality, that's ok, but how can i reduce its file size.

Member Avatar for Atul Dhiman
0
142
Member Avatar for fawadkhalil

Hi all I have a div whose width and height are set to 120px and 90px respectively. Now i m showing re sized images in this div. I have an image whose width is 80px and height is 107px, now if i set image width and height to the same …

Member Avatar for reverseEngg!
0
78
Member Avatar for fawadkhalil

Hi all In my web application i have validation controls. On selected index change of drop down list i set Enabled property to false of certain validations but they are still enabled. Drop down list is inside update panel. Strange part is the that it works fine on my local …

Member Avatar for kvprajapati
0
97
Member Avatar for fawadkhalil

Hi people I am calling JavaScript function on partial post-back. Its working fine when i run my site locally but it did not work after i implement it on live program. I used following line of code to call function: ScriptManager.RegisterStartupScript(Me, GetType(Uri), "", "privateseller();", True) Here is JavaScript function where …

0
54
Member Avatar for fawadkhalil

Hi i was installing sql 2000 on win 7 but it gave a message something like "sql have compatibility issues with this version of windows". I want to use sql 2000 with vs2005. Is it possible to run sql server 2000 on win 7? If yes how can i run …

Member Avatar for JemB
0
225
Member Avatar for 123mehran

Use RegularExpressionValidator; which is used to determine whether the value of an input control matches the pattern defined by regular expression. Validation exrpession for textbox that only accepts integer value is ^(?=.*[1-9].*$)\d{0,7}(?:\.\d{0,9})?$ Set ErrorMessage property to Enter digits Only or what ever you want.

Member Avatar for fawadkhalil
0
99
Member Avatar for yHobZ16

Following links might help you [URL="http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm"]http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm[/URL] [URL="http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm"]http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm[/URL]

Member Avatar for fawadkhalil
0
343
Member Avatar for fawadkhalil

Hi people I have radio button list populated from database. By default first value is selected. How can i call JavaScript function if user selects another value in radio button list.

Member Avatar for jbisono
0
133
Member Avatar for judithSampathwa

According to my understanding you dun want time to be displayed with date you can try this [CODE]select convert(varchar(12),getdate())[/CODE] It will gave you date with format: Jan 28 2011

Member Avatar for fawadkhalil
0
252
Member Avatar for fawadkhalil

Hi all I populated gridview using custom paging and wraped it in update panel. Issue is when i go to a page, select an item and press browser back button it take me back to first page not to page that i last visited.

Member Avatar for ciint
0
170
Member Avatar for fawadkhalil

Hey all i have installed vs 2005 on windows 7, it worked fine for few days but suddenly while creating new website project i got error "creation project<projectname>...project creation failed". Also when i try to run existing projects another strange error i encountered was "Unable to connect to vs local …

0
47
Member Avatar for manavsm

Below links might help you [URL="http://p2p.wrox.com/classic-asp-basics/10566-response-redirect-new-window.html"]http://p2p.wrox.com/classic-asp-basics/10566-response-redirect-new-window.html[/URL] [URL="http://weblogs.asp.net/infinitiesloop/archive/2007/09/25/response-redirect-into-a-new-window-with-extension-methods.aspx"]http://weblogs.asp.net/infinitiesloop/archive/2007/09/25/response-redirect-into-a-new-window-with-extension-methods.aspx[/URL]

Member Avatar for dnanetwork
0
164
Member Avatar for fawadkhalil

Hi all i have a radio button list with two values 1.public 2.private. I want certain rows of my table to be visible, when radio button value is changed to public whose visibility is set to false. I can easily accomplish it through SelectedIndexChanged event but that will cause page …

0
48
Member Avatar for fawadkhalil

Hi all I have rewritten urls in my application using RewritePath in Global.asax. Locally it works fine, but after i upload my application it shows me "page not found" message. Any body so kind to tell me what actually problem is?

0
88
Member Avatar for fawadkhalil

Hi all In search engine optimatization im stuck at the point that how should i rewrite urls for my application. i have searh through net but i dont understand how should i get start and how shuould i do this. Any help will b greatly apprecatied...

Member Avatar for murugavel84
0
79
Member Avatar for fawadkhalil

Hey all I have a form with update panel, Drp Down and Text boxes and requered Field Validators.There is also a button that do post backs. Validation group of Field Validators and button are same. When page loads and i submit data validators appear. After i select data or change …

Member Avatar for rohand
0
1K
Member Avatar for mith_cool

hey there i solve this problem by specifying DeliveryMethod of PickupDirectoryFromIis [CODE]# System.Net.Mail.SmtpClient myMailClient = new System.Net.Mail.SmtpClient(AppSettings("SMTPHost")); myMailClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis; myMailClient.Send(From,To, Subject,Body);[/CODE]

Member Avatar for virang_21
0
195
Member Avatar for wisorac

[QUOTE=Ammar Gaffar;209769]Hi Adam, I will give the method , regardless about your project take the method then apply it with any project There two common methods is used for passing data between forms The first one is by creating a properties in the form that you want to pass the …

Member Avatar for kvprajapati
0
2K
Member Avatar for love_dude1984
Member Avatar for attman
Member Avatar for debasisdas
-1
72
Member Avatar for abhipro

Hi below link might help you [URL="http://msdn.microsoft.com/en-us/library/aa581779.aspx"]http://msdn.microsoft.com/en-us/library/aa581779.aspx[/URL]

Member Avatar for fawadkhalil
0
104
Member Avatar for fawadkhalil

hi i have hundreds of records in my gridview and im showing 10 records per page.... i have upto 5 columns and i want to sort records records how will i do it?

Member Avatar for fawadkhalil
-1
73
Member Avatar for mshravs

Enter "No records found" in datagridviews property EmptyDataText if storeprocedure didnt return anything and gridview is binding properly. otherwise post your code to help you more

Member Avatar for mshravs
0
265
Member Avatar for love_dude1984
Member Avatar for mail2saion
0
92
Member Avatar for mshravs

You will find useful information on how to register domain name and where plus how to get start on below link: [URL="http://www.getawebsite.friezedesign.co.uk/index.htm"]http://www.getawebsite.friezedesign.co.uk/index.htm[/URL]

Member Avatar for ithelp
0
174
Member Avatar for fawadkhalil

Hi How can i count number of times user viewed a specific page in my application. Also i want to use Session or something else because if a user refreshes that page it should be icremented once. Any ideas how can i do it

Member Avatar for fawadkhalil
0
99
Member Avatar for fawadkhalil

Hi I have a datagirdview with a checkbox placed in header.How can i check or uncheck all checkboxes by clicking on checkbox that is in header.

Member Avatar for fawadkhalil
0
158
Member Avatar for fawadkhalil

Hello guys I have datagridview with each record containing a checkbox. I need to loop through the grid rows and get checkboxes that is being checked and also row numbers. There is also a delete button outside gridview.The above process should got executed on delete button click. Please provide some …

Member Avatar for fawadkhalil
0
438
Member Avatar for fawadkhalil

My page contains datalist that renders small thumbnails of 90 x 70. When i click on thumbnail a large copy of thumbnail in an image control above the datalist is displayed.The problem is page goes to top of its scroll position.I have to scorll down to get to thumbnail.How can …

Member Avatar for fawadkhalil
0
122
Member Avatar for fawadkhalil

Hi experts On my page i have displayed several ADs.When user click on specific AD details of that AD are displayed.How can i count number of times an AD being viewed and show count.

0
56
Member Avatar for fawadkhalil

Hi How can i resize an image before uploading and saving to database to the size im showing in my application.How will i accomplish this.

Member Avatar for Dhaneshnm
0
633
Member Avatar for fawadkhalil

Hi I have an image converted to binay and saved in SQL database. Below is my line of code where application is throwing above exception that im using for showing image [CODE] Dim mem As New IO.MemoryStream(CType(io.File.ReadAllBytes(imgfilepath), Byte()))[/CODE] Does anybody knows how can i fix this? Thanks and regards, f

Member Avatar for fawadkhalil
0
120
Member Avatar for fawadkhalil

Hi I have dropdownlist populated from database.My requirement is to count the number of records for each dropdownlist item like: Toyota(15) Honda(10) BMW(20) I have used[CODE] ddlMake.Items.Add(datatable.Rows.Count)[/CODE] but it shows records in below format Toyota Honda BMW (15) (10) (20)

Member Avatar for fawadkhalil
0
146
Member Avatar for omotoyosi
Member Avatar for fawadkhalil
0
82
Member Avatar for fawadkhalil

Hey all i have gridview with two buttons up and down inside gridview. by clicking on moveup button row should move up and down when user clicks on move down button. How can i achieve this.Please provide some sample code

Member Avatar for fawadkhalil
0
87
Member Avatar for fawadkhalil

Hey all i m trying to send progaramatically an email to user. i receive message "Email sent successfully".but email is not deliveing... i have two problems 1.Email sent to yahoo id is in queue from yesterday as i checked it in Inetpub>mailroot>queue. 2.Email sent to hotmail id is neither in …

Member Avatar for demigod
0
272
Member Avatar for fawadkhalil

Hi all i have checkboxlist populated from a table in database.now how can i store only checked items to database.

Member Avatar for fawadkhalil
0
282
Member Avatar for fawadkhalil

Hi all Convert(decimal(10,1),(taxid*10)/100) as tax value in taxid is 1. And also im getting .0 result but it should return .1 Plz help me..........why im getting wrong answer.

Member Avatar for fawadkhalil
0
71

The End.