1121 byte By
ask4help at 2007-11-25 8:20:04
Hi there,I have a problem in sending email to non-local address, say: yahoo email, gmail, etc. But no problem when sending email to local address, say: sending email to myself. I'm using the system.net.mail namespace, following the instructions from the link below: http://weblogs.asp.net/scottgu...
771 byte By
Ann_2020 at 2007-11-25 8:20:29
I have some doubts regarding serialization/deserialization.It would be really great if anyone could help me out!!!Im preparing a questionnaire wizard.Which contains different groups with a set of questions in each group.I need to store data as xml using serialization and deserialization. Xml strucut...
975 byte By
ritao at 2007-11-25 8:20:31
Hi,I'm trying to redirect to a page during runtime within a button click event. I am however getting a javascript error as shown below:<input type="submit" name="ctl00$MainContent$btnGetRequest" value="Get Request" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions...
Hi people, I have an ASP.NET application that uses a COM (locally) to do some number crunching. Everything works fine when the COM is installed on the same machine as the web application. In fact, the ASP.NET application uses a web service to access the COM. The web service is also on the same machi...
I need to set the css class of a <td> tag from the codebehind and there is no cssclass in the list of properties for that variable. Is there any other way to set the class of that tag? I can add all the style elements with td.Style.Add but thats not pretty when u have a lot of things and u alr...
Hi,I am beginner at VB.Net, and I need to implement Employee Training Application. First one admin screen----admin adds the employee info into Database.each time an employee takes a training course. Then it will be entered into the system via this screen. So, we have fields like1. EmpID Requ...
Hello everybody,In my asp.net c# application ,i have an xml file named Question.xml.With a set of questions.When a user enters data ,a copy of Question.xml has to be created ,where users enter answer to corresponding question and saved as a new xml,say username.xml.How toget the copy of a file and...
Currently I have a webform that has DropDownLists populated with specific choices the user can select - problem is he is limited to those choices and cannot enter his own selection (as if he was typing if a free field). I want to provide him the ability to either use the dropdownlist to select one o...
Hi,<br/> I have a datagrid with 100 records.I have to put these records into the database.Just inserting new records into the database not like updating using datagrid.How to do this.Help is appreciated.Thank you.
Hello,I am developing an web site which has map and I display points with circle on the map.But when i point on the circle it should display popup window as shown in the attachment with this message.How do i create this type of popup's...?Any help, urgent coz do deliver it on monday to client....
251 byte By
utwo at 2007-11-25 8:25:44
I'm looking for an efficient way to synchronize Application cache objects on front-end boxes in my cluster. Is there a method other than cache dependencies? I'm hesitant to use database dependencies for performance reasons.<br/>Thanks
Hi Gurus, I have a form having some textboxes. I want that when the user clicks Save button on the form the textboxes values gets saved in an xml file without overwriting the previous entered values. dataset.WriteXml method is overwriting the previous values. Pls send the answer as soon as poss...
HiI have an Web application in C#.ON the form I have two list box say ListBox1 and ListBox2.ListBox1 has items binded through an SQL query.and I want to add the selected contents of ListBox1 to ListBox2 on the button click.I tried and below is my code on button click. for (int i = 0; i < L...
Hi everyone, I want to show paging in my datalist. working with C#. i have code as given below.which is working fine to display all images from particular folder in datalist, but i want to give paging in this datalist.which is not related to database.it directly fetches all images from particular di...
So... I think that ASP can do this, but I'm not sure.If I have an include that's pulled onto the page, is there something that I can write into the include so only a section of it shows up?I think what I do is this:The Include:<% SUB section1 %>Item 1Item 2Item 3<% END SUB %>It...
Hi, I have a textbox with employee's last name.When we input last name and click serach button, it should popup all employees with the given last name(Like a Dropdown).Someone suggested to use Javascript Popup.I tried but no use.Can anyone suggest me how to do or it will be great if you sen...
Hi.. Couple of days back i had an interview,i was asked what is the disadvantage of the stored procedure...i said there is no disadvantage...he said what if you input wrong value into strd procedure..i replied bck if u have done proper validation tht wont happedn...then he said assume there is wron...
Hi,I have a datatable with 2 columns say tempDataTable both with column type stringI am storing different values from different database tables in a loopEx:Database table A,B,C,DI am storing in tempDataTable in a loopIn table C one string type field but storing numeric valuesI want to sort on a colu...
I have to implement code for single dropdown list for EMPID, EMPNAME and LOCATION<br/>(three output values must display in single dropdown list)<br/>Can any one suggest me, the best way to implement this. (asp.net)<br/>Thanks in advance<br/>Regards<br/>Jyothi
I have this problems.<asp:XmlDataSource ID="MySource" DataFile="MyXMLGenerator.ashx" runat="server"/> <asp:TreeView ID="TreeView1"DataSourceId="MySource" ExpandDepth="3" MaxDataBindDepth="3" runat="server" />It can't work. My ashx generate XML file...
Hi,<br/> I have to put calander control adjacent to TEXTBOX.ONCE User <br/> selects date then it should get reflect in Textbox.I don't want to popup calender control. Is there a way can I do Just by setting the calander properties in .aspx page.
219 byte By
smetzger at 2007-11-25 8:34:09
Which offers better performance?<br/>1) Creating temporary SqlCommand and SqlConnection<br/>2) Having a 'scratch' SqlDataSource and then changing its properties when needed<br/>Thanks,<br/>Scott
Hi frndsI am using a datagrid to display some information in my asp.net project.In that i have used one hyperlink column and remaining are template columns.The problem is that my grid's visibility property is turning false automatically.Even if i change that to true it will become false again.I...
Hello,I'm developping a web site, using masterpages and content place holders. ContentPlaceHolders I put in the table. The problem is that in IE the content is showed only in the small part of the COntentPlaceHolder, it is cut on the right and at the bottom. In Firefox everything is fine, table...
237 byte By
Visslan at 2007-11-25 8:35:23
Hi!<br/>Does anybody know how I can make my webform printfriendly? Isn't there a function or so that I can use for this? I would like to know the name and in witch namespace it lies.<br/>I'm using c# and framework 1.1
Hi all ,I am trying to show Crystal Report 9.0 with Asp Page . But I am getting the error 'Script can not continue Running...' I am changing Username and Password of the Report thorugh code.The Sql server is on the Remote server.When I run the report on the local server it is working fin...
Hi all ,I am trying to show Crystal Report 9.0 with Asp Page . But I am getting the error 'Script can not continue Running...' I am changing Username and Password of the Report thorugh code.The Sql server is on the Remote server.When I run the report on the local server it is working fin...
406 byte By
bsaucer at 2007-11-25 8:35:52
I have inherited a C# ASP.Net web app from someone, and I am trying to dynamically LinkButtons to an HTMLTableCell. The html table is in a user control. I copied the code from another user control which adds them to a panel.When I run the program, ones in the panel work. But the ones I added to the...
Public Function getLastPosterByTopic(ByVal topicId As Integer) Dim myConnection As New SqlConnection(ConfigurationManager.AppSettings("forumDSN")) Dim myCommand As New SqlCommand("SELECT TOP 1 psId, psRelTopId, psName FROM forumThreads WHERE psRelBcId = " & topicId & " ORDER BY...
298 byte By
skuanet at 2007-11-25 8:37:43
Hi all,<br/>I have two forms (form1 and form2).<br/>When I press a button that is in form1 I do something like : response.redirect("form2") but in form2 I am not able to get data inserted in form1 if I use... Request.Form.GetValue("txt1");<br/>Why the POST is not enabled ?....
Hey, i have a big issue, i need to make a tournament draw, but it has to be sized dinamicaly acording the number of players in the tournamentJust as a sample so you get the ideaplayer1--|..........|--|player2--|......|.................|--- Winnerplayer3--|......|.........|--|player4--|but i have to...
Hi, I have a gridview with autogeneratedelete="true".So I have a deletebutton added automatically for every row.I am binding data through a datatable.When I run and click Delete button,that row is not getting deleted.When I click it is asking RowDeleting Handler.What should I do to get my...
132 byte By
d00_ape at 2007-11-25 8:40:27
I use one contentpage of my MySite.Master page as an Error-page. How do I redirect from that page to any other page after 5 seconds.
i have an html email template that has a table in it. I want to bind the XML to the html table...is this possible?
330 byte By
patuary at 2007-11-25 8:41:42
At my GRIDVIEW I have 2 fields namely "unit price" and "quantity".I want to display the product of these 2 columns in another field called "amount" on the GRIDVIEW.I wish to disply the calculated value in this third column once the user lost focus from unit price or quantity.I will appreciate urgent...
507 byte By
cmualo at 2007-11-25 8:41:52
Hi,Error: BC30002: Type 'xxx' is not defined. I am getting the above error on deploying a web site. I do not get the error on my dev machine(localhost). The class causing the error is a custom class called DBManager2. The error occurs when this code is called: Dim objConnString A...
hi everyone, I have one ASPX Webform. I want msgbox to be displayed on every 5 min automatically. Actually i have created To-do list feature in my web application same as we have in our cell phone. when the event time which i have added in to do list matches with system date.the msgbox must be appea...
617 byte By
monriz at 2007-11-25 8:42:36
Hi thereI want to display information regarding product with product pictures.information is saved in sql server and images are save in harddrive director Images/Pc100where Pc100 is product code and image name in directory.can any one help me how to do in datarepeater/ or gridview.Senerio: when i pu...
492 byte By
Zcumbag at 2007-11-25 8:43:26
Hello. Is there a way that I can redirect users of my site by specifying criterias in the web.config?Like soPeople who type in "www.mydomain.com/this" will be redirected to "www.mydomain.com/someting/this.aspx"? This could obviously be done by creating a folder called this in the root directory, but...
Hi,I have refered to the article about dropdown calendar control for asp.net on dev-archive.com and tried it. I am using VS .NET 2005 in my office. The code works fine on 2005, but when i tried the same code on 2003 it did not work. In 2003 i could not set the style property for the div tag. It did...
hi,<br/>in my project i using this code for get rss feed data<br/>DataSet ds = new DataSet();<br/>Line 37: ds.ReadXml(" http://feeds.autoblog.com/weblogsinc/autoblog");<br/>Line 38: GridView1.DataSource = ds;<br/>Line 39: GridView1.DataBind(); <br/> <br/> Thanks <br/>Ramesh
3180 byte By
pabidi at 2007-11-25 8:47:12
Hello Everyone!I am using asp.net (Visual Studio 2005) i am using menu control as menu item and multi view to display the content of the each menu code is below---------------<asp:Menu ID="Menu1" Width="168px" runat="server" Orientation="Horizontal" StaticEnableDefaultPopOutImage="False" OnMenuIt...
5276 byte By
cherish at 2007-11-25 8:48:00
Hello everyone! :)I have a UserControl that has a BulletedList inside it. The list items are from an SqlDataSource. This UserControl is loaded dynamically in the code-behind of my Default.aspxI basically followed the sample code from MSDN ( http://msdn2.microsoft.com/en-us/library/ms228039.aspx) beca...
1360 byte By
Thibaut at 2007-11-25 8:48:25
The solution is perharps very simple but I don't get it.I build a WebService with .net2 and vs2005 professional to enable the communication between a flex application and a database. the whole thing is working fine when i work localy. means when i start the webservice from visual studio and the...
Hi all, I am trying to convert xml file to pdf through some exe. On local machine its generating the pdf file .But on Production server,I am getting error as followsERROR: Unable to initializing MSXML parser. It appears you do not have Microsoft XML parser 3.0 and/or Microsoft Internet Explorer...
214 byte By
Visslan at 2007-11-25 8:49:26
Hi!<br/>I would like a new web window to be opened when i click a sertain button. The new window should contain a print firiendly version from the page where the button was clicked.<br/>How can I do this?
359 byte By
bjswift at 2007-11-25 8:49:32
I'd like to know some classes I can use with ASP.net to print out a text file such as C:\test.txt.I have tried getting system.drawing.printing working but am having no luck, and couldn't find any good examples.If there is also a way to start a print process from SQL Server that would be a...
Hi All,I'm using a vb.Net 2005 to create some web pages.I've placed an SQLDataSource control on the master page and I want to be able to reference it from the pages that go to it's content place holder.SO I might have a default.aspx page and in that I want to be able to do something l...
Hi All,I'm successfully populating a Gridview with a Dataset using : GridView1.DataSource = objData GridView1.DataBind()Iv'e also managed to change the column headings using the following in the aspx page: <asp:GridView ID="GridView1" runat="server" AutoGenerateColum...
3441 byte By
yolip at 2007-11-25 8:52:19
I am dealing with .NET 2003 datagrid, I added a add new row in the grid footer, everything is fine if i just put textboxes in the footer. Now, i need a dropdownlist and dynamically preload some options to the dropdownlist. But i couldn't find a way to load data into it. I tried this but failed:...