13,153 Topics

Member Avatar for
Member Avatar for jijojosephk

Hi, I'm facing a very strange problem. I have a JavaScript which disables some nodes (checkboxes) of TreeView depends on the value of the "Title" property of the checkbox. I had to try this because TreeView control doesn't support enabling/disabling of checkboxes attached to it. My only option was to …

0
65
Member Avatar for questionary

Hi, how can I display on a single page(View) data from two tables in my db? In my project the model is *.edmx file. i have two table one with categories, and the second one with products. All I want to do is to display on home page(view) in left …

0
57
Member Avatar for donbasil

Hi, Im new to this forum. I was hoping for help. i have an XML file : [CODE] <root> <node1 a=".." b=".."> <node2 x=".." y=".." z=".." w=".." /> <node2 x=".." y=".." z=".." w=".." /> <node2 x=".." y=".." z=".." w=".." /> </node1> <node1 a=".." b=".."> <node2 x=".." y=".." z=".." w=".." /> …

0
53
Member Avatar for am_dumb

hi all,... iam newbie here. i want to make video conference using ASP.NET & C#. my application is web based. its possible....??? please, if you have know article or anything its help to me... thanx friends..... :mrgreen:

Member Avatar for kvprajapati
1
179
Member Avatar for jellybeannn

My problem is that the array does not seem to return the correct value, the same value is returned for each data row, but when I display using Response.Write in foreach in Calculation, the correct values are returned. The array values has to be used in a calculation I've got …

Member Avatar for jellybeannn
0
64
Member Avatar for jellybeannn

Hallo can someone please help me, I've got this table: Valuation Date Construction 30/03/2009 30,625.26 30/04/2009 269,825.04 30/05/2009 850,056.45 30/06/2009 1,922,475.06 30/07/2009 3,500,852.19 30/08/2009 5,757,055.16 30/09/2009 8,699,041.1 30/10/2009 12,232,330.17 30/11/2009 16,612,763.46 30/12/2009 19,166,542.19 30/01/2010 22,098,191.54 28/02/2010 33,539,289.47 30/03/2010 40,518,025 30/04/2010 48,372,377.98 30/05/2010 56,543,248.62 30/06/2010 65,507,314.28 30/07/2010 74,607,415.4 30/08/2010 84,352,063.34 30/09/2010 …

Member Avatar for jellybeannn
0
65
Member Avatar for born star

i m working with asp.net and we make a stored procedure we declare the parameters like @fanuser_id int, @fsuser_name string my question is that why we use [COLOR="red"][B]fs[/B][/COLOR] for string and [COLOR="red"][B]fan[/B][/COLOR] for integer what the meaning of these..........

Member Avatar for rohand
-1
63
Member Avatar for ans2007kumar

I want to declare a integer variable in global scope but do not want to that its value become 0 every time the page is post-back [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; …

Member Avatar for rohand
0
134
Member Avatar for adobe71

Here is my small project [URL="http://aspspider.biz/realzone/default.aspx"]http://aspspider.biz/realzone/default.aspx[/URL] Here you can see my small project and can take some ideas.Pls give me some usefull suggestions.

Member Avatar for dnanetwork
0
38
Member Avatar for andarin

Hi all, i wrote this code, and my problem is that in the textbox the values are "··· 123 test" and not "··· 123 test", so if I use special character like the middledot or others and than I try to copy in a Textbox I will find an additional …

Member Avatar for rohand
0
114
Member Avatar for ineale

I have a program that will use the following code to draw the nodes i need (ellipses), but it won't draw the paths(lines). The only thing i could think of is that it might not be calling properly through two classes. [CODE]protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); DrawingGroup dGroup …

0
80
Member Avatar for fiaolle

Hi I am worthless in CSS. My boss doesn't want me to use <br> or table. I have a datalist and a div which is relative, like he said I should have. Then I placed spans which are absolute and with top and left. It works fine when there is …

Member Avatar for fiaolle
0
128
Member Avatar for gptArun
Member Avatar for ndhamecha

hi would you please help me in retrieving values related to user select a country then its automatically shows the states name of that country in next dropdownlist and after that it will automatically display the city names respected to that country.. please do the needful.its really very urgent thank …

Member Avatar for Ramesh S
0
95
Member Avatar for dpreznik

Dear experts, I have a GridView with an invisible CancelEdit button. I want to use this button to get out of Edit mode. When I make this button visible for testing purposes and press it with the mouse, it works fine, getting me out of Edit mode. But I need …

Member Avatar for dpreznik
0
101
Member Avatar for mandi009

Hi! To all members I have a grid view with five data bound fields.In the sixth cell, i want a check box to be displayed .Note there are multiple values in one cell of a row and for multiple cell in a row,a checkbox is to be displayed. Table looks …

Member Avatar for mandi009
0
74
Member Avatar for ans2007kumar

How to know what is last index number in a drop down list if it is populated by using database??

Member Avatar for Ramesh S
0
67
Member Avatar for maria_mj

I have a problem. I want to display data from database using drop down list and radio button in the grid view. The idea is, from the grid view user can select value from drop down list and radio button to update their record. So, they didn't need to type …

Member Avatar for kvprajapati
0
307
Member Avatar for sanbal

I am using a LDAP system to check the user cridential access control [CODE] string LDAPUserID = ConfigurationSettings.AppSettings["LDAPUSERID"]; string LDAPPassword = ConfigurationSettings.AppSettings["LDAPUSERPASS"]; string domainAndUsername = domain + @"\" + LDAPUserID; string CN = ConfigurationSettings.AppSettings["CN"]; string SID = ConfigurationSettings.AppSettings["SID"]; string MAIL = ConfigurationSettings.AppSettings["MAIL"]; string SAMACCOUNTNAME = ConfigurationSettings.AppSettings["SAMACCOUNTNAME"]; string SN = ConfigurationSettings.AppSettings["SN"]; …

Member Avatar for kvprajapati
0
356
Member Avatar for rajesh_tit

hi,i am rajesh i have to bind menu controler to database at run time , but i have no idea of data Relation. and data set. E-mail id= [snipped]

Member Avatar for kvprajapati
0
57
Member Avatar for Omar123

Hello, I have a WebService that gets a LessonID and returns a list<string> that has all the links of the lesson from access database: [CODE] [WebMethod] public List<string> Lessons(int lessonID) { string lessonsource = ""; string cs = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source= " + GetDBLocation(); OleDbConnection cl = new …

Member Avatar for Omar123
0
1K
Member Avatar for miraclebos

Hello ! I'm working on a project which allows user to design forms/questionnaires using asp.net website, and once done. The questions should be generated on a .net mobile web page to be filled up using mobile phone browser. The question is - when designing the form is done, should I …

Member Avatar for miraclebos
0
132
Member Avatar for RickyG

I am trying to display the title and descritption of a document on a dropdown menu list but I don't know how to do it. So far it works fine but shows only reference document. [CODE]Training Document:&nbsp;&nbsp; <asp:DropDownList ID="TrainingDocIDTextBox" runat="server" DataSourceID="AccessDataSource2" DataTextField="ReferenceDocument" DataValueField="TrainingDocID" SelectedValue='<%# Bind("TrainingDocID") %>' onselectedindexchanged="TrainingDocIDTextBox_SelectedIndexChanged"> </asp:DropDownList> [/CODE]

Member Avatar for Bhaarat
0
104
Member Avatar for born star

[U][I]how does highlighted lines work............. [/I][/U] [CODE] public List<clsproductprp> RetAllCol_rec() { List<clsproductprp> obj = new List<clsproductprp>(); SqlDataReader dr=null; SqlCommand discmd = new SqlCommand(); try { if (con.State == ConnectionState.Closed) { con.Open(); } discmd.CommandText = "spDisplayALLProduct"; discmd.CommandType = CommandType.StoredProcedure; discmd.Connection = con; [COLOR="red"][B] dr = discmd.ExecuteReader();[/B][/COLOR] while (dr.Read()) { clsproductprp prp …

Member Avatar for twaink
0
99
Member Avatar for 00 freedom

hi all, i would like to ask if do you know how to Embed the Remote Desktop ActiveX Control in a Web Page using C#? any help would be greatly appreciated!! thanks!

Member Avatar for murugavel84
0
232
Member Avatar for emaduddeen

Hi Everyone, There are so many controls, properties, etc in VB 2008 .NET it's mind boggling. I'm amazed at how much this product can do. Does anyone know of a VB 2008 .NET book that describes in simple language and shows sample code for all of those controls, properties, etc? …

Member Avatar for emaduddeen
0
153
Member Avatar for mikehaddad

hi i'm new to asp.net and i have create a simple asp.net pages loging page and registration page with simple access database. and i have HTML page that has left frame where the links in it are one will open the loging page and the other one will open the …

Member Avatar for kvprajapati
0
118
Member Avatar for ans2007kumar

I have created checkbox as follow [CODE]System.Web.UI.WebControls.CheckBox ch = new System.Web.UI.WebControls.CheckBox(); ch.Checked = true; tc.Controls.Add(ch); ch.CheckedChanged += new EventHandler(ch_CheckedChanged);//this is my eventhandler[/CODE] I created a event handler as [CODE]protected void ch_CheckedChanged(object o, EventArgs e) { string s = Response.Cookies["red"]["re"]; if (v == "true")//i want the state of respective checkbox here …

Member Avatar for Mohtshm
0
98
Member Avatar for thandwandim

For some reasons I'm getting no data populating in my crystal report. I have set the datasourse of my crystal report to the dataset. I filled my dataset with data straight from the database. My dataset is not empty, I always check it first before populating data to the my …

Member Avatar for Syeda.farwa
0
213
Member Avatar for infinique

Hi, my client is in the midst of creating a blog. Due to the fact that their hosting is on asp.net, wordpress, joomla is way out of the question. I would like to check if any of you guys might know what is the most recommended .net engine blog software …

0
102
Member Avatar for joseph2010

In the filtered text box what are the FilterType are having ? i am using .net framework 2.0, it will not come for filter text box property. reply me the result

Member Avatar for joseph2010
0
114
Member Avatar for KingVampire

Hello, I am making a web page and I want to make it 100% fluid, which means that I want to resize the images when the browser window is resized. I just need to know how to get the Panel width in px with c#. I am using master page …

Member Avatar for Freon22
0
89
Member Avatar for born star

hey.........i m new in asp.net ....and following is the class library.... ........can somebody tell me the working of the following code like why catch{} is used why finally is used and all this [CODE] public abstract class clscon { protected SqlConnection con = new SqlConnection(); public clscon() { con.ConnectionString = …

Member Avatar for Freon22
0
76
Member Avatar for born star

whats the difference between [code] while(dr.Read()) { } [/code] and [code] if(dr.Read()) { } [/code]

Member Avatar for Freon22
0
51
Member Avatar for mmccull

I'm having a problem setting up autrhentication and authorisation in IIS7 and the web config file for an ASP.NET 3.5 application. What I want to do is restrict access to content that is being served by IIS, so all pages/assets, but I want to do this via the web config …

Member Avatar for mmccull
0
109
Member Avatar for SiteBuilder350

I'm posting in this forum because I didn't really find one regarding CMS platforms. I use dotnetnuke for my CMS framework. Works well for the most part but I'm finding the built in forum module is awful. I've looked around and I've yet to find a good 'free' alternative. Now …

0
48
Member Avatar for saiphyn

Hi, I am working on a project with greenhousegases (GHG). I have a table which looks like this: product_name/ CO2 / N2O / CH4 and which houses the GHG data for a kg of a certain product. Now I would like to use this data to calculate the GHG of …

0
61
Member Avatar for TechGen

hi please I have managed to create a user and allow a user to login however Im confused as to how I can use the profilecommon class to save user info, please assist my web config is also listed below [code] Protected Sub btnLogin_Click(ByVal sender As Object, ByVal e As …

Member Avatar for kvprajapati
0
136
Member Avatar for sseo

I'm relatively new to programming. Problem: I'm creating an ASP.NET app the needs to read a CSV file and filter the data. I searched the net and only found classic ASP examples or all DB driven examples. Does anyone have sample code. Or is there any other suggestions on how …

Member Avatar for kvprajapati
0
999
Member Avatar for inAweofOOP

Hi All, Hi All, I'm in a bit of a pickle here. I'm Binding the name of file to a LinkButton and intending to open that file on the LinkButton' click. I have the LinkButton in the TemplateField of a GridView control. Below is the code I'm using : <asp:TemplateField …

Member Avatar for inAweofOOP
0
171
Member Avatar for Omar123

Hello, I'm writing a project about exams. The number of answers in the exam are 4. and each one has a RadioButton near it that can be pressed to choose the answer. What I do to check which of the radio buttons is selected is that I manually add an …

Member Avatar for Omar123
-1
126
Member Avatar for thami

Hi, I have a page which is long, now instead of scrolling it manually I want to put linkbutton at the top of the page so when the user clicks on the topic, then the page scrolls itself to that topic which is on the same page as the linkbutton. …

Member Avatar for Ramesh S
0
65
Member Avatar for edgias

I have a search form which the user has to enter values to search for a particular vehicle in the database. I want to assign a certain value in the database to a certain control on another page. how will I be able to do this? I have something like …

Member Avatar for murugavel84
0
77
Member Avatar for sitieda

hi expert.. i have problem in create report using ssrs.. i already create the .rdl file and setup the datasource and dataset.. the problem is..when i want to view report i dont know how to map between my webform n the datasource.. this my code now... from the 1.aspx.cs [code] …

0
56
Member Avatar for TaoistTotty

I have been able to create the PDF without too many problems, but it is not formatted the way I would like/need. I am producing the PDF from a web page TextBox which the end user is running TinyMCE on (and is effectivly using it was a word processor), but …

Member Avatar for dharmbhav
0
168
Member Avatar for IndranilM

Hello i have a login page so once the user enters the correct details he enters into the home page. Now i want to implement 2 things 1. once he clicks the button 'log out' he must be redirected to a page saying" logged out successfully " n even if …

Member Avatar for IndranilM
0
247
Member Avatar for Scoobydog

I have a page with a nested gridview and within the nested gridview I have a TemplateField and an Imagebutton. What I am trying to accomplish is allow the user to expand the child grid and then click on the Imagebutton to display a panel below. The problem I am …

Member Avatar for Scoobydog
0
299
Member Avatar for RickyG

HI, I am looking a snippet to warn the user before processing with deletion and my ViewEmployees.aspx page.. I am using a Gridview with autogenerated insert, delete statements; how would I do this on my Code Behind File? [CODE]<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="EmployeeID" DataSourceID="AccessDataSource1" ForeColor="#333333" GridLines="None"> <RowStyle …

Member Avatar for RickyG
0
99
Member Avatar for rohitmanhas_12

Hi, I need help for this problem that i'm trying to solve for a while (i'm Using ASP.net and C#). How do i submit the values from selected checkbox lists into database using c#.... Here's the code: .......................................................................... [code] <asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Bold="False" Font-Names="Vrinda" Width="338px" style="text-align: left"> <asp:ListItem>Public Tap</asp:ListItem> <asp:ListItem>Well …

Member Avatar for rohitmanhas_12
0
201
Member Avatar for RickyG

I am trying to update employee information in my web form but when I press Update Link, nothing happends.. [CODE]<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ViewEmployees.aspx.vb" Inherits="ViewEmployees" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <p class="style1" style="text-align: left"> <table class="style1"> <tr> <td> Enter Employee Name&nbsp;&nbsp; <asp:TextBox ID="txtName" …

Member Avatar for kvprajapati
0
133

The End.