- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
57 Posted Topics
Re: Hey Try This [code=C#] protected void button1_Click(object sender, EventArgs e) { Response.Write("<script type='text/javascript'>window.open('NewPageUrlWithArgument.aspx','_blank');</script>"); } [/code] This sure will work If it solves your problem mark the thread as solved. | |
Hi, In my website i have implemented custom session values. In which, on log on i set the session value to some object. This object is used to extract user specific data from db. now the problem is If user logs in with : test1.somesite.com and logs off and again … | |
Re: You question is not clear. Please be precise. To check multiple check boxes you must have it at first. But i don't see it in your code. If you try to check multiple check boxes with the same GroupName from codebehind it will allow you to do so but if … | |
I have beed using CodeDom to generate codes. I was generating property using CodeMemberProperty. Can anybody tell me how to generate property like this: [code] get; [/code] instead of [code] get { } [/code] | |
Hi, I have a samll problem on my computer. I have using Windows XP professional service pack 3. I recently added 500GB SATA harddisk to my computer. Now my computer has two hard disks, 80GB PATA harddisk and 500BG SATA harddisk. After i added this new SATA harddisk. When i … | |
Hi, I am facing a really wierd problem, i just formatted my harddrive and installed windows xp service pack 3. Now i can't access any of the google services. like gmail it get some certificate errors and not trusted site in mozilla and something like this in all other browser. … | |
Hi, I have used an open source code from codeproject to read email from incoming mail server(POP Server). The code can be found at following location: [url]http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx[/url] So far it works fine i can read emails. My objective of using this code was to retrieve emails from POP server and … | |
Hi, I have created a window service and set some dependencies like on MSMQ, MSSQLSERVER and so. Everything is working nice. but i need to send another dependency for my service. That is on internet connection. My service is responsible for sending emails. As soon my server starts, my service … | |
i am sending email to the users using smtp client and MailMessage class. i have been adding the addresses of multiple receivers in the to property of the object of MailMessage class. the problem is that the receiver can see the email addresses of other receipents. is there any way … | |
hi, i have a website where i provicde a link. On clicking the link a controller action method is called to generate a zip file after creation of zip file is done, i show the link to download the zip file by replacing the link to create a zip with … | |
Hi i want implement a windows services scheduled task. I already created windows service. In a service i have implemented a timer.The timer is initialized at class interval. The timers interval is set in the start method of service and also it is enabled in the start method of the … | |
I built an ajax chat in one of my mvc website. everything is working fine. I am using polling. At certain interval i am using $.post to get the messages from the db. But there is a problem. The message retrieved using $.post keeps on repeating. here is my javascript … | |
[B]It's long but simple. I have only explained the problem in detail.[/B] After searching a lot i did not get any answers and finally i had to get back to you. Below i am explaining my problem in detail. It's too long, so please don't quit reading. I have explained … | |
Hi Is it possible to execute normal php code under zend framework php. As far as i have heard php is a MVC model style coding. But i have not done MVC programming in php. I have an appplication where i need small modification. I have done some programming in … | |
Hi everybody I am developing an application in asp.net mvc where i need to have Chat application intergrated in the web page. The chat application should be able to support group chat, private chat, simple file transfer and user should be able to create their own rooms. Can u people … | |
Hi I have a web page where i need to use some javascript. If i write all the javascripts and jQuery javascripts in the aspx page it works perfect. But when i write all the javascripts in separate file called scripts.js and include scripts.js in the aspx page it doesn't … | |
Hi i want to create a website just like "active collab" where number of clients can register and manage their software projects progress or absloutely any kind of projects and track the progress of project. I want the client or clients to give facility to register to our project management … | |
Hi, i hava a dropdownlist in asp.net mvc page. On selecting particular select item from dropdownlist i have made an ajax post request to the controller method that returns me the result. Everything is working fine. i also get the required result. But the problem is how shall i extract … | |
Hi I have an application installed. I need to have a functionality that prevents user from uninstalling the application if application is currently running. I uninstall appliation from Add/Remove programs. I have functionality in my system that allows it to be minimized to the task bar and to system tray. … | |
Re: Hi San24, This is not a big problem. You can always iterate through child controls in any parent Control. Like this: [B]Method1[/B] Let's say i have a Windows forms and i have some contorls on it. If i want to access the controls on the form or properties of controls … | |
Hi i want to compress the file on the file during FTP file download. Is it possible to do that. I have an application that downloads the files from remote FTP server as windows forms application using VB.net Please help Thanks | |
Hi I have beed developing an appliction that will start an executable on remote computer to zip the files. I provide the location of files to zip. Now the problem is that i want to start the executable on linux server that hosts the files. I want to start an … | |
Hi everybody I have been using mysqldump utility to dump the contents of database to a file. Everything is ok but i want to eliminate the "USE `db_name`;" statement that appears in mysqldump. Is it possible to do that. Please help:sweat: | |
Hi I have a solution file that consist of two different projects. In one of the projects i have a code to upload the file and save it. Currently the file is saved in same project directory that consist of code to upload the file. I want to upload the … | |
How do i start mysqlserver with option of --log-bin using phpmyadmin. Where do i set mysql server startup options in phpmyadmin. | |
I have been developing a MySQL database backup and restore appliation in windows forms. This application crates a dump of a mysql database at remote location and imports everything from the dump file back into local mysql database. MySQL database is located at the server which hosts my php website. … | |
Hi Please tell vb.net equivalent of following method: [CODE=C#] private void LookForUpdates() { System.Threading.ThreadStart timerThreadStart = new System.Threading.ThreadStart(delegate() { sua = new ShowUpdatAvailable(); DelGetUpdateArgs delGetUpdateArgs = new DelGetUpdateArgs(this.GetUpdateArgs); sua.GetUpdateArgs = delGetUpdateArgs; sua.StartLookingForUpdate(); }); timerThread = new System.Threading.Thread(timerThreadStart); timerThread.Start(); } [/CODE] I tried using C# to VB.NET code converter which gave … | |
Hi I have a windows application that prints a record in a given page size. I looked all over but i could not see how did it set the page size. and now requirement is to print the paper size in legal paper size of 18.5" by 14". How can … | |
Hi everybody I have been developing windows client application in .net framework 3.5. The system is supposed to copy the remote mysqldb and restore my local mysqldb with all the schema and data withing remote schema to my local mysqldb with the same database name. Well i found a solution … | |
What is the difference between following declarations: [CODE=C#] WebUserService.Service.IUserService userService = new WebUserService.Service.UserService(); WebUserService.Service.UserService userService = new WebUserService.Service.UserService(); [/CODE] I want to know the difference in usage and the the one that is most efficient in terms of programming in C#. | |
Hi All the coders out there. I need a suggestion. I have windows xp installed on my computer and i need to develop application for windows vista. I would prefer to use .net framework 2.0 and visual studio 2005. Instead of .net framework 3.5 and visual studio 2008. Well, selection … | |
Hi I have developed application in .net framework 3.5 WPF. Well, you know WPF also requires .net framwork 3.5 SP1. Now it's works fine on my computer. But i need to ship it the client. What will be the software requirements at the client side to run my application. Is … | |
I have a php website which i want to run in C# wpf webbrowser control. I have a validated a username and password for the site by connecting to it's database using .net. Now i want the functionality to take username and password and submit the post form to php … | |
Hi I am developing FTP Clinet application that downloads files from the specified server i sent the LIST command and server returned a list of file names in following order: -rw-r--r-- 1 devubas devubas 24 Sep 5 2008 .bash_logout now the problem is how do i extract the filename fom … | |
Re: You should some books on java programming. For the beginner refer to this location: [URL="http://euler.vcsu.edu:7000/13521/"]java looping statements[/URL] Let me give you some tips about programming: Whenever you are in problem or want to learn something, search the topic on net. I mean search in google. You will find lots of … | |
Re: Do you want selected item in the dropdownlist to be displayed in the gridview or fetch some item from a data source based on the selected item in the dropdownlist and display it in the gridview. | |
Hi, i successfully created the JAVA Applet and embedded it in the HTML page. The applet class is as follows: [code=JAVA] import javax.swing.JApplet; import java.awt.Graphics; public class HelloWorld extends JApplet { @Override public void paint(Graphics g) { g.drawRect(0, 0, getSize().width - 1, getSize().height - 1); g.drawString("Hello World !", 5, 15); … | |
Hi, I am new to java programming. I have been creating a simple applet. Which is as follows: [code=java] public class HelloWorld extends JApplet { public void paint(Graphics g) { g.drawRect(0, 0,getSize().width - 1,getSize().height - 1); g.drawString("Hello world!", 5, 15); } } [/code] This code is saved in a file … | |
Re: Well, checking length in asp.net is not quite easy. But you can restrict user from entering characters more that allowed limit. set the MaxLength property of textbox to the number of characters you want to allow. Well the draw back of this method is that, it does not display any … | |
Re: How did you load the script for the first time. You must have forgotten to add GridView1_RowUpdating event to the GridView. I guess there is something wrong with the body of GridView1_RowUpdating method. When you clik the edit button ,only the row in which you clicked Edit button becomes editable. … | |
Re: From where are you supposed to provide the value for Where condition i.e @designation for the SqlDataSource of DropDownlist. Giive it a thought. I am online now, i can help you immediately. and what do you mean by statement "At the same time how to only display rows of selected … | |
Re: use EditItemTemplate and in the EditItemTemplate make only the field you want editable as editable . for the rest use labels to show the fields or readonly textboxes. <FAKE SIGNATURE> A Software Development Company or contact me at <FAKE SIGNATURE> , send me comment or subscribe to my blog or … | |
Re: If you are using FormView you must have defined templates for ItemTemplate and EdititemTemplate To make only one field editable in the EditItemTemplate make only the field you want editable as Editable and for rest others make it non editable , this means they should be displayed in label instead … | |
Re: Here is your solution: Just replace your try catch block with my code and it will work: [B]Here is my code[/B] [code=C#] try { using (FileStream fs = new FileStream(file, FileMode.Open, FileAccess.Read)) { using (StreamReader sr = new StreamReader("TestFile.txt")) { String line; while ((line = sr.ReadLine()) != null) { Console.WriteLine(line); … | |
Re: Hey here is my fully functional GridView with edit functionality. To make gridview editable follow the code in GridViewSiteConfiguration_RowEditing method shown below: [B]If you are confused of this much of code, don't worry, i will give you simple advice:[/B] [B]The thing is extremely simple:[/B] 1. Set the edit index of … | |
Re: Something like that. But you should all these things in Page_Load method of the web page. you can extract the value of a query string and store in the local string variable lke this: [code=C#] string searchvalue = Request.QueryString("SearchItem"); //and then use thevalue of the variable as shown below //Get … | |
I have been developing a asp.net application in which i have to mail to large number of user an email. I used the classes in System.Net . Every thing is fine, there are no errors in the page. But while sending mail i get an exception: as follows: [B][COLOR="Red"]SPAM Score … | |
Hi I have been developing a website. I need to hide the page extension of the pages while user is browsing my site. for example: Home.aspx should be displayed as Home only. How can i do this. Please help Thanks | |
I have a structure named "Card" in Codes.cs file which is located in Codes folder of project. The source code of this structure is as follows: [code=C#] struct Card { //Suit that this card belongs to private CardSuit suit; public CardSuit Suit { get { return suit; } set { … | |
I want to develop silverlight web application. But i could not find installed templates for silverlight projects. I have viusal web developer express edition 2008 and visual studio 2008 team system installed on my computer. what shall i do . Which IDE should i use. Thanks, |
The End.