|
Hi,
Put OnClick = "button2_Click" for button1.
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
Simply add a event hamdler in the OnInit Method
Button1.Click += new EventHandler(Button2_Click1);
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
Actually i want the button2_click() event to be fired on click of a <td> in the table of my aspx code.
i.e.
<TD id="D0" onmouseover="this.style.backgroundColor='#ffeb99'; style="CURSOR: hand" onmouseout="this.style.backgroundColor='';" align="center" onclick="btnMarkRead_Click;"></TD>
here on click of this <td> i want to call the btnMarkRead_Click event.
How to achieve this?
Riz
|
|
|
|
|
you can't do like this as the is not going to run at server
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi! i want a Rich Text Editor for my asp.net web aplication. can any one help me for an free or open source or custom control Rich Text Editor ?
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
Hope the article by Haissam Abdul Malak Rich Text Editor[^] will help you.
Regards,
Satips.
|
|
|
|
|
Thanks!
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
Welcome
Regards,
Satips.
|
|
|
|
|
hi friend.
in sql server2005 text save in MIME format for Example->
---------------------------------------------------------------------------------------------------
This is a multi-part message in MIME format. ------=_NextPart_034_0265_011ABCC4.0E3F1F48 Content-Type: text/plain; charset=UTF-8;msgr=WAAtAE0ATQBTAC0ASQBNAC0ARgBvAHIAbQBhAHQAOgAgAEYATgA9AE0AUwAlADIAMABTAGgAZQBsAGwAJQAyADAARABsAGcAJQAyADAAMgA7ACAARQBGAD0AOwAgAEMATwA9ADAAOwAgAEMAUwA9ADAAOwAgAFAARgA9ADAACgANAAoADQA Content-Transfer-Encoding: binary piyush ------=_NextPart_034_0265_011ABCC4.0E3F1F48 Content-Type: text/rtf Content-Transfer-Encoding: binary {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS Shell Dlg 2;}} {\colortbl ;\red0\green0\blue0;} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx720\cf1\f0\fs20 piyush\par } ------=_NextPart_034_0265_011ABCC4.0E3F1F48--
----------------------------------------------------------------------------------------------------
Input Text is->piyush
so I want to filter only input text. how it possible...
please help me......
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
i am having gridview control in which an update image is there. ON rowcommand event of gridview i am updating database. ON commandargument the primary key of the gridview is there. but to get the values of textboxes on that row i want row index property of the gridview which i am not getting on row command . How to solve this.
if (e.CommandName == "Update")
{
GridViewRow gvr= GrdFormType.Rows[0];
TextBox txtFormType = (TextBox)gvr.FindControl("txtformtype");
string txtformtype1 = txtFormType.Text;
DropDownList ddlformgroup = (DropDownList)gvr.FindControl("DropDowmFormGroup1");
int ddlformgroup1 = Convert.ToInt32(ddlformgroup.SelectedValue.ToString());
// int formtypeid = (int)Convert.ToInt32((GrdFormType.DataKeys[e.RowIndex].Value.ToString()));
int formtypeid = Convert.ToInt32(e.CommandArgument.ToString());
maintainance mc = new maintainance();
mc.Edit_Form_Type(formtypeid, txtformtype1, ddlformgroup1);
this.GrdFormType.EditIndex = -1;
FillFormType();
}
|
|
|
|
|
ritu4321 wrote: i am having gridview control in which an update image is there
Bind the Update Image's CommandArgument with the primary key. If you do this, you should have the ability to get the primary key as e.CommandArgument.
Try this...
Else use the RowUpdating Event, since you are using the "Update" as your CommandName of the Update Image.
|
|
|
|
|
i dont want primary key i am getting that i need row index on row command
its urgent!!!!!!!
|
|
|
|
|
how to convert the following asp code to asp.net code
<%
Set jpeg = Server.CreateObject("Persits.Jpeg")
jpeg.Open(Request("path"))
jpeg.Width=Jpeg.OriginalWidth/4
jpeg.Height=Jpeg.OriginalHeight/4
' Send thumbnail data to client browser
jpeg.SendBinary
%>
plz help me
Thanks in advance.
Haritha
|
|
|
|
|
|
Hi guys,
I just want to save some data from the website that I known how to write into the file already but I don't know how can I click a button and then the Save as dialog showing up.
Adn I used FileUpload to seeking for a file that I want to upload to the server But I really don't know which tool in the Toolbox to showing the Save as dialog box.
Anybody can guide me about this?
Thank you very for all your helping.
Regard
junior boy
|
|
|
|
|
Hi All,
I want to store the text in SQL Server2000 as i store it pointwise as shown below : and also i want to display it in the same format as i save it....
• Live telecast of international and national events on Aastha and Aastha International channels.
• High quality recording of Yoga guru Swami Ramdev’s sessions.
• Recording of discourses by gurus such as Acharya Brahmrishi Kirit Bhaiji, Acharya Mridul Krishna Shastri, Didi Ma Ritambhara, Swami Avdheshanand, Anandmurti Guru Ma and others for various TV channels.
• Recording of performances by singing sensations Anuradha Paudwal, Narendra Chanchal, Lakhvinder Sigh Lakha, Vinod Agarwal, Nandu Bhaiya and Piyusha and Kailash Anuj, to name a few.
|
|
|
|
|
Then you need to save it as HTML
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i think you need to disccus throughly before implenting it
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
I have a class which will select some data and return me with some user's details (which consist of int,char,varchar...). I am having a problem to return this array list as I keep on getting conversion error from char to int. How should I return this list of data since it is a mixture of data type.
Thanks
J Liang
|
|
|
|
|
Make a class to use as data container, which has properties for the different data values you want to return.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi,
Thanks for the reply, I guess this is the most common way.
I know I might sound stupid but I'm not very good with object oriented, I wanted to know if I would declare a public variable in my class, once I got the data from the database, I assign it to this public variable so that I can access it from another page, is that alright to do it like this?
|
|
|
|
|
One way is instead of returning Array or ArrayList create one class suppose UserProfile that will have all private varaibles with public property
return object of this class like this
<br />
int _age;<br />
string _FirstName;<br />
string _LastName;<br />
string _Address;<br />
char _Gender;<br />
<br />
public int Age<br />
{<br />
set { _age = value; }<br />
get { return _age; }<br />
}<br />
<br />
<br />
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
Thanks, will try it out
|
|
|
|
|
Im using dreamweaver for my site.
So, how do I connect to the MS access database.
I only knw how to do this in vb.net and vb6. :->
kagiso
|
|
|
|
|
matjame wrote: Im using dreamweaver for my site.
So, how do I connect to the MS access database.
Connecting Database From DreamWeaver ???
|
|
|
|