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
~13.5K People Reached
Interests
travelling...long drives
Favorite Tags
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
141
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
100
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
48
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
78
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
86
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
641
Member Avatar for praveendasika
Member Avatar for fawadkhalil
0
178
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
57
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
52
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
137
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
129
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
94
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
52
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
220
Member Avatar for 123mehran

Hi Guys I've made a id number textbox and wanna when users typing characters the server tell them type digits what should i do?

Member Avatar for fawadkhalil
0
95
Member Avatar for yHobZ16

We need little help for our project website. Please help us. We need a code for mouse hover in ASP.NET. For example, every time the mouse is over the image there is a pop-up image in its side. We'll wait..Thank you very much!

Member Avatar for fawadkhalil
0
339
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
113
Member Avatar for judithSampathwa

hi there, I asked this question before also. i have two date times in a table in the MS SQL server database, when i write the query as below. the Sstart Date and the Due Date is displayed as 12/11/2010 12:00:00 AM it shows correct in the MS SQL business …

Member Avatar for fawadkhalil
0
248
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
168
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
45
Member Avatar for manavsm

I am unable to open the page in a new window when i click on the image button CAn u tell me how to make the current page open in new window [CODE] <ItemTemplate> <asp:ImageButton runat="server" ID="ImgPreviewBtn" Height="18px" Width="18px" OnCommand="onSelectAttachment" CommandName="Preview" CommandArgument='<%#Eval("QUOTATION_CODE") +","+ Eval("SUPPLIER") %>' ImageUrl="~/images/preview.gif" CausesValidation="false"></asp:ImageButton> </ItemTemplate> [/CODE] [CODE] …

Member Avatar for dnanetwork
0
163
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
46
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
86
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
76
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

protected void Button1_Click(object sender, EventArgs e) { MailMessage message = new MailMessage(); message.From = new MailAddress(YourEmail.Text.ToString()); message.To.Add(new MailAddress("purohit.mith@gmail.com")); message.Subject = "Message via mith from " + YourName.Text.ToString(); message.Body = Comments.Text.ToString(); SmtpClient client = new SmtpClient(); client.Host = "203.92.50.112"; client.Send(message); } // this is what i used to send the email …

Member Avatar for virang_21
0
186
Member Avatar for wisorac

Hello! I have a project to where I am making a pizza order for customers. My forms consist of a form for the pizza quantity and size (the cost is displayed in a lblDisplay.Text). I also have another form which calculates the cost of beverages. I am now on the …

Member Avatar for kvprajapati
0
2K