|
|
You need a 3rd party control to convert to pdf, a quick google search will finds you loads.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hi,
How can I create controls using a Web Control library Project and use those controls in asp.net web applications
I am using 1.1 framework.
rgds,
rains
|
|
|
|
|
Got a wonderful article.
http://www.osnews.com/story/6802/Visual_Studio_NET_Design_View_and_Custom_Web_Controls/page1/
Rgds,
Rains
|
|
|
|
|
Good Morning All
i have a menu control in Asp.net , i want to click a certain item in the menu in JavaScript.
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
|
Good DAy Ramesh
Thanks it worked
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
how do i localised (or make multilingual to english and dutch) the sitemap in asp.net
|
|
|
|
|
|
Hi all,
I want to install some prerequisite programs before intsall my web application.
Please how do I add these programs to my web application setup program.
Thanks.
SPC Nigeria
Thanks.
|
|
|
|
|
HI,
This is Junaid
I have a query regarding application deployment. I want my asp.net application (developed under vs 2008) to be executed under x64 based architecture, for that I compile my application for x64 based architecture by changing in complication settings for x64. I just want to will this application run successfully on x64 based architecture , because it complied on 32bit OS (probably win xp) , I just change the complication settings.
Regards
Junaid
|
|
|
|
|
Yes It should work. The only thing is that the IIS in the 64-bit server needs to be set to work in 64-bit mode.
Hope the followin threads will help you
Thread 1[^]
Thread 2[^]
Link 1[^]
|
|
|
|
|
Hi,
I have C# ActiveX control or (Win-form library) Using ASP.Net
When web-page display on browser,prompt Message display "Security-Warn"
with two button
Run Or Don't Run, button.
I don't want to Show this Prompt Messages or asking me for run.
i don't Want to Set Browser Setting plus.
This is possible though Codes in VBScript,JavaScript etc.
|
|
|
|
|
ActiveX controls cannot be enabled by code. It should be enabled manually in the browser's setttings.
|
|
|
|
|
Hi,
I need to create specified number of buttons dynamically with events.
can anyone plz provide me de code, its urgent.
beula,
cmots infotech.
|
|
|
|
|
|
thanks a lot
beula,
cmots infotech.
|
|
|
|
|
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class TempEvent : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Button btn = new Button();
btn.ID = "btnnew";
Panel1.Controls.Add(btn);
btn.Click += new EventHandler(btn_Click);
}
protected void btn_Click(object sender, EventArgs e)
{
Response.Write("hi");
}
}
Padmanabhan
|
|
|
|
|
Hi,
I have a country master.I want to display code and name of the country in a gridview using csharp.
I have an add new button,if i click on that button a new empty row should get added to the gridview,where i can enter a new country details.Like that if a i click on that button for required number of times,that many rows should get added.
I should insert into the table(SQL server2005) on click of an update button at one shot.
Someone please help me out to achieve this application.....
waiting for a positive reply..
|
|
|
|
|
public void EmptyGrid()
{
DataTable TempTable = new DataTable();
TempTable.Columns.Add("sino");
TempTable.Columns.Add("name");
TempTable.Columns.Add("gender");
TempTable.Columns.Add("qualification");
TempTable.PrimaryKey = new DataColumn[] { TempTable.Columns["sino"] };
TempTable = BindEmptyRows(3, TempTable);
GridView1.DataSource = TempTable;
GridView1.DataBind();
}
//Method to Bind Rows
private DataTable BindEmptyRows(int nofoRows, DataTable dt)
{
for (int i = 0; i < nofoRows; i++)
{
DataRow dr = dt.NewRow();
dr["sino"] = dt.Rows.Count + 1;
dr["name"] = string.Empty;
dr["gender"] = "0";
dr["qualification"] = "0";
dt.Rows.Add(dr);
}
return dt;
}
//refer :Temporary Values in Grid[^]">
Padmanabhan
|
|
|
|
|
Hi,thanx for imm. reply.
This is fine if rows are fixed...
I want dynamic number of rows to be added on click of a button outside the gridview....
iam a beginner in .net..
|
|
|
|
|
Hi,on click of a button iam able to add a new row....i tried and i used the logic given by you...
Thanx a lot..
|
|
|
|
|
//these two methods will create 3 rows in page load
public void EmptyGrid()
{
DataTable TempTable = new DataTable();
TempTable.Columns.Add("sino");
TempTable.Columns.Add("name");
TempTable.Columns.Add("gender");
TempTable.Columns.Add("qualification");
TempTable.PrimaryKey = new DataColumn[] { TempTable.Columns["sino"] };
TempTable = BindEmptyRows(3, TempTable);
GridView1.DataSource = TempTable;
GridView1.DataBind();
}
//Method to Bind Rows
private DataTable BindEmptyRows(int nofoRows, DataTable dt)
{
for (int i = 0; i < nofoRows; i++)
{
DataRow dr = dt.NewRow();
dr["sino"] = dt.Rows.Count + 1;
dr["name"] = string.Empty;
dr["gender"] = "0";
dr["qualification"] = "0";
dt.Rows.Add(dr);
}
return dt;
}
//when u click a button outside the grid then
protected void btnNew_Click(object sender, EventArgs e)
{
SaveGridDataInTempTable();
DataTable dtNew = Temp.Copy();
BindEmptyRows(1, dtNew);
Temp = dtNew;
GridView1.DataSource = dtNew;
GridView1.DataBind();
}
//each and every click it will create a new row
Padmanabhan
|
|
|
|
|
Hi,
In my application i have java script method to open a new window, when i click a button new window is opening , but before opening new window i want to make fire postback to server from the Parent page, how can i do this plz let me give reply...
function window()
{
window.open("secondpage.aspx","_blank","width=475px,height=100px");
}
am calling this method like OnClientClick="return Window() in the source page.
|
|
|
|
|
Since window is a javascript keyword, change your function name window() to something like openWindow
function openWindow()
{
document.forms[0].submit();
window.open("secondpage.aspx","_blank","width=475px,height=100px");
}
|
|
|
|