13,936 Topics

Member Avatar for
Member Avatar for toadzky

I have a ListBox using an ItemTemplate. Here is the XAML: [CODE] <ListBox Name="list_Sensors" ItemsSource="{Binding}" Grid.Column="0" IsSynchronizedWithCurrentItem="True"> <ListBox.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <GroupBox Header="Part Number/Description" Grid.Column="0" Margin="5" Width="200"> <StackPanel> <TextBlock Text="{Binding Path=PartNumber}" HorizontalAlignment="Center"/> <TextBlock TextWrapping="Wrap" FontSize="8" HorizontalAlignment="Center"> <TextBlock.Text> <MultiBinding StringFormat="{}{0} {1}"> <Binding Path="Manufacturer" /> …

Member Avatar for toadzky
0
406
Member Avatar for sumansaha1

Hi, i am using a flag in the database to detect if the user is logged in or not. But this flag is updated only if the user logs in or logs out.If the user closes the browser or somehow gets out of the site without logging out he has …

Member Avatar for Freon22
0
100
Member Avatar for sandeep210

[CODE]<?xml version="1.0" encoding="utf-8" ?> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="Samples.Controllers" schema="I_USER" assembly="Samples" > <sql-query name="PROCEDURE1" callable="true"> <!--<return class="empdetails.cs" />--> <return-scalar column="iusrfname" type="String" /> <return-scalar column="iusrlname" type="String" /> <return-scalar column="iusrlinname" type="String" /> <return-scalar column="iusremailid" type="String" /> <return-scalar column="iusrmobileno" type="String" /> <return-scalar column="iusrrmrks" type="String" /> <!--<return-scalar column="iusrcreated" type="DateTime" />--> call PROCEDURE1(:pr_userid,:iusrfname,:iusrlname,:iusrlinname,:iusremailid,:iusrmobileno,:iusrrmrks)<!--,:iusrcreated)--> </sql-query> </hibernate-mapping>[/CODE]

0
114
Member Avatar for sniigg

Hi, I have a html document when i run in Internet explorer i am getting the desired output(j query working fine). But i copy pasted the same code in aspx page...the same code is not working properly...

Member Avatar for sniigg
0
222
Member Avatar for ashab27

hi, I have 5 images and i want to do that is should come one by one without click on anywhere and without refresh the page also. how can i do that in page load event in asp.net (C#) plz tell me....................

0
65
Member Avatar for rohitmanhas_12

I need to control timeout values for each user. Im having trouble to make it work. When the session timouts out I want to redirect the user to the login page...cud anyone help me with this..

Member Avatar for kvprajapati
0
65
Member Avatar for Anterko

Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user …

0
88
Member Avatar for Anterko

Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user …

0
84
Member Avatar for jitendra_25

I have used a javascript to display a countdown timer for 60 min. like in an online exam. It works fine but when i refresh the page on which timer is displayed then the timer value again resets to 60:00. So, if there is any solution to prevent this please …

0
55
Member Avatar for Ajith S Kulgod

Hi , I have created an windows setup project using Microsoft Visual Studio 2005 . I have included the uninstaller utility also . After Uninstalling the application from the uninstaller utility , the default location of the windows setup project is not deleting . Can you give a solution such …

0
60
Member Avatar for kanuri1

hi i wants to import gridview data into excel format.. here iam writing the code but here iam getting the error as "Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server." here my code is given below please correct the code......... [CODE]Protected Sub Page_Load(ByVal sender …

0
44
Member Avatar for jellybeannn

Hi can anyone please help me, I've got a gridview populated from a database, when the download button is pressed this is exported to excel, what I would like to do is to hide the gridview, it must not show on the aspx page but the database must still export …

Member Avatar for kvprajapati
0
100
Member Avatar for bhavu4u

[QUOTE]I have a form with textbox. Besides this textbox i should have imagebutton / something which on clicking will open a popup window (lookup). This popup window will have UserId and Usernames (from db). So when the User selects one from this , the UserId should get selected in the …

Member Avatar for kvprajapati
0
489
Member Avatar for Batoul88

Having a bit of trouble here. I know that if you want to use a fileupload control inside an AJAX update panel then you need to create a trigger for the control that performs the uploading postback to the updatepanel, but the problem is, I have an update panel that …

Member Avatar for rohand
0
95
Member Avatar for virang_21

Hi I am using ASP.NET to upload files that is to be stored in MSSQL Server 2008 as varbinary(MAX). I have issues with opening scanned pdf files once users upload them. The issue is happening very randomly (say 20% of the files cannot be opened .). It seems something is …

0
74
Member Avatar for kwazy2010

Please i need some suggestions on how to develop a web based forum application...am not sure if to use ASP.net or php...

Member Avatar for SheldonC
0
165
Member Avatar for SDS20

Hi, im having a problem with a custom control in asp.net I've googled but I cant find any solution, maybe the people here can lend me a hand. Here's the code [CODE] public Table generateControls(GeoData geodata) { Table table = new Table(); Label StrAddress = new Label(); Label Localty = …

Member Avatar for SDS20
0
130
Member Avatar for firstimer

Hi all, I am new to C# and the visual studio express environment. I have a button on this web page, when it is clicked a method assigns a new random number to a variable but I want new clicks to add numbers to what was in the variable and …

Member Avatar for firstimer
0
136
Member Avatar for rico196

Hy, Let's say that I have class Node with some parameters Node[] child's, string id, string content ... This class is like a another storage for data from mssql database. And that web-application is running on IIS server and is written in ASP.NET C# Now when one user open that …

Member Avatar for Ramesh S
0
302
Member Avatar for jellybeannn

Hi on my localhost the website works fine, but when I transfer it onto the web I get this error, please someone help. [CODE] Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details …

Member Avatar for Ramesh S
0
339
Member Avatar for kunkka17

hi,, i have problem run the asp.net application through IIS. I have made virtual directory for the application folder. when i try to 'Browse' the virtual directory, then the Error show up. 'You are not authorized to view this page' 'You might not have permission to view this directory or …

0
90
Member Avatar for celinehgl

Hi guys, The codes below is running perfectly fine. But I have a problem - if there are no records found in the database, my dropdownlist will not display nothing. However, I want it to display something like "no records found" instead of havng it blank Can someone tell me …

Member Avatar for kvprajapati
0
174
Member Avatar for sanbal

Even I installed asp_regiis . I am using Visual Studio 2008 v3.5 I am facing an issue while building a web project. I have added the controls in the design window as [code]<td align="left" valign="top"> <asp:DropDownList ID="ddlCategory12" runat="server" CssClass="dropDownList" AutoPostBack="true" OnSelectedIndexChanged="ddlCategory12_SelectedIndexChanged"> </asp:DropDownList> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" InitialValue="----Select----" CssClass="validator" ErrorMessage="Please Select Category" …

Member Avatar for sanbal
0
101
Member Avatar for kiranbvsn

I am having two dropdownlists that are interrelated, in which one is vertical ddl and the other department ddl in a grid view if we select the vertical ddl then corresponding departments have to appear in department ddl. I've written the code like this In footer of gridview i successful …

Member Avatar for Sals
0
103
Member Avatar for Dhammakirty

how can we acces properties (eg.employee id,name)defined within a dll to a windows form. someone can help me.......

Member Avatar for Sals
1
142
Member Avatar for adobe71

I want to generate non-repeated random number. I tried the following code but it generates repeated random number. [code] protected void Button1_Click(object sender, EventArgs e) { Random rnd = new Random(); int n = rnd.Next(1, 100); Label1.Text = n.ToString (); } [/code]

Member Avatar for Freon22
0
194
Member Avatar for ravin26

hi, I want to know how can i allow user to download an mp3 file on his click in asp.net vb.

Member Avatar for adobe71
0
101
Member Avatar for kaivalPrajapati

How to use for Adrottetor in my web site? pl z... all about discus and give any Essy example.

Member Avatar for adobe71
0
77
Member Avatar for jobojo

Good evening everyone and hope you all had a good weekend. I am working on a site which allows the user to search database records based on entering either a reference number of a person' last name and then clicking the submit button. This brings the user to a results …

Member Avatar for kvprajapati
0
240
Member Avatar for sbr

hi im new to asp.net...im using gridview hyperlink...my prob is to view the hyperlink value in the next page label box while clicking the hyperlink in gridview...

0
52
Member Avatar for psyb0rg

This has taken many hours of mine. I have to get this .Net app to run on an XP system. Someone seems to have messed up some files so conn.Open() in the C# is causing this error: [CODE]Connection Error:Oracle.DataAccess.Client.OracleException ORA-12170: TNS:Connect timeout occurred at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, …

Member Avatar for debasisdas
0
2K
Member Avatar for Pankaj18

Hi, I am using following code to Highlighting keywords in a text or resume. My code: // al is an Arraylist which have keywrods as .net, java, xml... [code] al = (ArrayList)Session["keyWords"]; for (int i = 0; i < al.Count; i++) { if (s.Contains(al[i].ToString().ToLower()) || s.Contains(al[i].ToString().ToUpper()) || s.Contains(al[i].ToString())) { //s …

Member Avatar for Pankaj18
0
111
Member Avatar for Dhammakirty

Ihave to create application split into BO & UI 1.create a new dll 2.try creating a class that has all properties required for database table(eg-employee table) 3.create strongly typed data table to hold skill. 4.integrate BO & UI(using referrence.)

Member Avatar for kvprajapati
0
69
Member Avatar for ayouya

I am building my first multi tenant application .. have not implemented customization yet (alowing the user to add fields to the tables in the database or even creating new tables ) How do i implement the business logic layer if every user had different fields of the same table …

0
39
Member Avatar for ramsham

Hi I am using C#.net to develop one web site . I want to search facility means if i enter word for search then it must get highlighted on page /text box then if i click(OR move mouse there) on that highlighted word then it shows detail information. Just like …

Member Avatar for ramsham
0
158
Member Avatar for botaxsmaniz

I need help.... i have using gridview in asp.net, but this gridview is too wide and destroy my pages. can u give me solution?

Member Avatar for Sals
0
76
Member Avatar for bhavu4u

Hey!!! Anyone have any idea that can we fire button click event if the button is added in[B] tabpane[/B]l not in panel if have any example or any help would appriciated pls give as soon as possible.

Member Avatar for bhavu4u
0
698
Member Avatar for bhavu4u

hi!!!! i have problem with my dynamic control in tab panel below is my code [CODE]protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { tabcontainer1_ActiveTabChanged(tabcontainer1, null); getcontrol(); } } protected override void LoadViewState(object savedState) { base.LoadViewState(savedState); if (ViewState["controsladded"] == null) getcontrol(); } protected void tabcontainer1_ActiveTabChanged(object sender, EventArgs e) { …

Member Avatar for bhavu4u
0
125
Member Avatar for anansiva

HI, Please can anyone know the advantage and disadvantage of Dot net?.if anyone know,please post the reply immediately.....thanks in advance

Member Avatar for rdhansrihoney
0
168
Member Avatar for sandip vav
Member Avatar for Ramesh S
0
73
Member Avatar for pwk064

I am using access database but I keep getting this error message when I try to delete a record from a gridview. The tables are fine **Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error …

Member Avatar for kvprajapati
0
79
Member Avatar for kaivalPrajapati
Member Avatar for kvprajapati
-1
47
Member Avatar for praveen_dusari

hi all, i am new to asp.net can some one point to correct direction or suggest me..here is my problem i am developing a e commerce site and when ever i bind my data with grid view it is showing all the rows in my database..i want only selected fields …

Member Avatar for kvprajapati
0
74
Member Avatar for reescooper

Hi, I'd like to set up a form similar to one I have seen on the following site: [url]https://www.mysurgerywebsite.co.uk/secure/prescriptions.aspx[/url] I have a basic knowledge of web development (although I did once set up a searchable online database) and would be really grateful for some advice on how to proceed. Regards, …

Member Avatar for kvprajapati
0
99
Member Avatar for Rohith Reddy

Hi, Can any one suggest me a java script to make a master page fit to all scree resolutions. Regards, rohith

Member Avatar for kvprajapati
0
85
Member Avatar for giahmed

Hy Guys, I am having serious problem in uploading database to 123 reg server. I have Windows hosting package which supports ASP.Net andSQl hosting. I have managed to upload website to server and it works fine, the database I have is ASP.Net generated database and I have used Published to …

Member Avatar for giahmed
0
150
Member Avatar for botaxsmaniz

hello all, i need your help in visual studio 2008/asp.net 2008 i have createuserwizard in asp.net, but this template have only standard (username, password, email, etc) can i modify this template? and send data to database best regards, martin

Member Avatar for botaxsmaniz
0
72
Member Avatar for love_dude1984

hi.. im building an app wher i want to retrieve data from PDF which will be questions of some sort...like as follows.. A. Group A A.1 Whats your name? A.1.1 Whats your Middle name? A.1.2 Whats your sur name? The questions could also be like as follows.. A.1.1.2.3 question 1? …

Member Avatar for bhavu4u
0
128
Member Avatar for ALOK.53

hii alll, i am working on very simple gridview control.i m able to edit update n cancel bue AS SOON AS I CLICK ON DELETE :I GOT EXCEPTION AS : Object reference not set to an instance of an object. [CODE]protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { GridViewRow row = …

Member Avatar for reach_yousuf
0
147
Member Avatar for Ashu.sharma

[QUOTE=praveenkumarm;960895]Hi, You can do it using javascript and css. Try this code it might help. <head runat="server"> <title>Untitled Page</title> <style type="text/css" runat="server"> .cs { background-color:Window; } .cs1 { background-color:ButtonFace; } </style> <script type="text/javascript"> function mov() { var btnid= document.getElementById('btn1'); btnid.className='cs'; } function mout() { var btnid= document.getElementById('btn1'); btnid.className='cs1'; } </script> …

Member Avatar for kvprajapati
0
65

The End.