.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Table popup control needed

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :ASP.Net
Hi i got a Html table with Database names displayed in it , now when i hover overthen the need to display images with the path is also saved in the database , so i would have to add some asp.net control in the HTML Table  ,  No Javascript , i have tried it and when i search for names in the database the pics in the table are not where they belong . Need asp.The names are displayed via int howmany=0;while(read.Read()){howmany++;ShowinTable(read["Code"].ToString(),howmany);}Thanks any for suggetions.

View Complete Post

More Related Resource Links

Using ATLAS PopUp Control with Calendar inside the GridView Control

In this video tutorial Mohammad demonstrates how you can access the Calendar control which is displayed using the ATLAS PopUp control inside the GridView control.

Open different page using Ajax Modal PopUp Extender Control

The article Open different page using Ajax Modal PopUp Extender Control was added by Chintan Dave on Thursday, July 15, 2010.

You May use Modal Popup Extender to open some part of the page as Popup. But there we don't have any property to open other html or aspx page in Popup window.We can do it using IFrame control. What we have to do, just add IFrame control in Panel that

Want to Create Table Dynamically With text Control in WinForm Csharp

Hello To All... from Many Days i m tryng to create a simple table using csharp in WinForm.Which will include textbox in each cell according the Passed No of Col & Row. but not getting the proper result. Actually i want to trace each cell data and want to save each cell data to data base : eg. in cell 11(1col & 1row) i m having Combobox which having some item list and when the user select the list item the data will save to the database. Regards, Praveen    What is the Key of Life ... Its Sharing Your Thought & Knowledge ...

Datalist and Ajax control toolkit Modal Popup window

Hi friends I have created list of thumbnail images in datalist and on clicking image i want to pass image name to Ajax control toolkit Modal Popup window which display bigger image.   Please help me.

Insert and Edit Pages with Web User Control Template for another table

Hi, I have an Address template(web user control) which holds the fields of the Address table.  The Address template is embedded in the School Insert Page.  I want to insert a new school together with its address(which means I have to insert a record into the address table).  Can you let me know how I can pass the newly generated addressId to update school table?  Also, how can I associate the Address.cs in the App_Code with the Address template?  I want it to be able to scaffold columns which needs to be hidden from user in the address table.  When I click on Insert School, the Address template shows in "insert" mode, I just need to link the two together. Thanks for your help! CC  

Problem displaying Date from Sql table on Calendar Control

Hi, I am displaying Event dates from SQL table on Calendar Control in ASP.NET. Also, I have GridView Control which shows event details when certain date is clicked on calendar control. But I have a problem as not all dates are displaying properly. Strangly enough only dates which have same month and day date are displayed. For example: It shows ok dates such as 08/08/2010, 09/09/2010, 10/10/2010 etc. If I click on the date which in SQL table exists as 11/25/2010 or 12/15/2010 etc (no matching month/day numbers) it shows error message saying: "System.Data.SqlClient.SqlException: Conversion failed when converting date and/or time from character string."  Follwoing is my code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Sql; using System.Runtime.Remoting.Messaging; using System.Configuration; using System.Data.SqlClient; using System.Data; using System.Drawing; public partial class Test_Calendar : System.Web.UI.Page { SqlConnection mycn; SqlDataAdapter myda; DataSet ds = new DataSet(); DataSet dsSelDate; String strConn; private void Page_Load(object sender, System.EventArgs e) { strConn = "Data Source=mydatasource;Initial Catalog=DBname;Persist Security I

How to Control each cells width and height of a Table ?

Hi, I want to fix the size of each cells of a table . for that i used Style like this: <td style="width:10px;height:10px"> contents </td> But it seems that there is no any effect of applying these settings.How can  i set its width and height. It seems that it purely depends on the contents of cells. Now, if suppose there are two rows, <tr id='r1'> <td id='d1'> content of size 10px </td> <td id='d2'> content of size 10px </td> </tr> <tr id='r2'> <td id='d3'> Content of size 400px </td> <td id='d4'> content of size 20px </td> </tr>   Then cell of id 'd1' will get a size of 400px ,since its just below cell is of size 400px. I want to fix its size. Is that possible ?  

Delete objects from table using another table to select rows - help needed

I have one table named 'dbo.ac_Products'Within this table there is a column named 'ProductId'There is also another table named 'dbo.ac_CatalogNodes'Within this table there is a column named 'CatalogNodeId'and a column named 'CatalogNodeType'I need to delete all the rows from 'dbo.ac_Products' and 'dbo.ac_CatalogNodes' where 'ProductId' = 'CatalogNodeId' and 'CatalogNodeType' = 1Any help would be greatly appreciated!

Calendar needed to display on entire page, not just popup

Im looking for a .net calendar control that will display current month and allow me to populate each day with specific data / links i found this site, http://www.lebans.com/ but seems to be kinda old, is there any .net controls available to display a month calendar with the flexibility im looking for? It needs to be able to be bound to db so that i can display certain data per day.   thanks. 

Update Gridvew Row inside popup extender control

I have a gridview with popup control extender to show details of the row, it works ok. But I also need to update the fields inside this popup window. How do I get the row ID and pass it to the button click event handler? Please help. 

Using asp.net login control USERID to retrieve data from table using a where clause.


Protected Sub SqlDataSource1_inserting(ByVal sender As Object, ByVal e As SqlDataSourceCommandEventArgs) Handles SqlDataSource1.Inserting
        Dim MemUser As MembershipUser
        MemUser = Membership.GetUser()
        UserID.Text = MemUser.ProviderUserKey.ToString()
        e.Command.Parameters("@UserId").Value = MemUser.ProviderUserKey.ToString()

What is the trick to using a Seadragon AJAX control with-in a AJAX hovermenu or popup control


 I have teh seadragon working, but when I try to active it with a hovermenu or popupcontrol, I don't get an error, I just get everything except for the actual image.  It has the background, the controls of enlarge, shrink etc, but no image.


Any ideas?

Checkbox control used to open a table


I've created a form which reports on performance.  I have used a repeating table which has 'Item' - a read only description and three further columns, each containing a checkbox (boolean) for positive, negative and N/A.  I have added default values to the repeating table.  Under the repeating table are 2 sections containing a further repeating table to record the positives and negatives.  I have applied a conditional formatting rule to these sections so that if the 'negative' checkbox = false, the section with the negative report table is hidden.  The same conditional formatting is applied to the positive, ie. check the positive checkbox and the section containing the positive report table appears.

When I preview the template only the item/checkbox table is visible and if the positive or negative checkboxes are checked, the relevant report table section opens.  However, this conditional formatting rule only works on the first row of the item/checkbox repeating table.

How can I make this rule operate on the checkboxes is other (default value) rows of the repeating table?

Hope somone can help me with a codeless solution

Insert value from one table to another in SQL using CreateUserWizard control



I am using CreateUserWizard Control to register clients in my SQL Database. I have two tables: Customers and Categories. Customers CustomerID is a foreign key in Categoris. It is also automatically generated when values are inserted into Customers table.

Categories tables receives values from CheckBoxList control as CatCodes.

Everything works fine but one. When values are inserted into Customers and Categories table during registration, CustomerID is not inserted into the Categories table using the following sql code:

<asp:SqlDataSource ID="InsertDealerId" runat="server" ConnectionString="<%$ ConnectionStrings:myconnection %>"
  InsertCommand="INSERT INTO [Categories] ([CustomerID]) 
 SELECT Customers.CustomerID FROM Customers WHERE Customers.CustomerID = @CustomerID"
  ProviderName="<%$ ConnectionStrings:myconnection.ProviderName %>">
  <asp:Parameter Name="DealerID" />

I have tested is in SQL management studio and it gives no error, which means code is correct. Also, following is my full code with code behind to better understand what is going on. It's been a week now I am struggling with this and can't und

How to update table where id needed to be read through from another table.



I have update statement.

student (NOLOCK) ON student.ID = SPECT.ID
ON CLSS.GID = student.GID
WHERE student.PID =  '20201'
AND CLSS.PID = '20201'

However, student.PID  and ClSS.PID need dynamically reach through from table CLSS to get each row of PID.

Here my table CLSS

Rowid  Username    PID        gid         nit       sid      NEWSID
7          cc                20201    00        1           AA       XX

8          cc                20201    02        1           SS       AA

9          dd              11000     0N &n

Help needed with creating Pdf table out of list of dataSets


Hey there,

I'm trying to create a pdf table using data from a list of datasets.

Each dataset may contain 0 to 4 rows as follows, and the data within that dataset is specific to a particular month:


CommunicationType         CommunicationCount
email                                           20
letter                                           10
phone                                           5
fax                             &n

HELP *#&$ing piece of #@% Popup control placment


I'm making a custom control that is a numeric keypad. You can hook it to a text box and when the text box gets focus it will pop up the keypad window for data entry, additionaly it checks the validation errors for the host control and if any, it will display them in a popup. The keypad window work fine, it's the validation error popup that killing me. My problem is this: First in order to get the Popup to display in the corect Zorder(to be top most) I had to set an event handler on the popup's Opened event and in that event I had to toggle it's parent window's TopMost property from true to false.(I'm totaly baffled by this). This all works if I bring the keypad window to life with it's Show() method, this is not what I want because of the modless behaviour. Instead I want to bring the keypad to life with it's ShowDialog() method, but if I do the popup for the validation error info stops calling the CustomPopupPlacment delegate assigned to it, and no longer positions correctly. Can any one help? I don't see a way to attach the source code so I'll post it here: http://www.griffinautomation.com/GriffinWeb/Portals/0/datasheets/KeyPadTest.zip 

This is a test app for the keypad eventually I will use it for a program that controls a machine we build tha

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend