|
Hi All
I am getting problem in putting text at the cursor location in freetext box which is place in a Place holder and .
My code is as follows:
<select name="ddlPlaceHolders" önchange="FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml<br mode=" hold=" />(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);">
<option value="<!FN>">First Name</option>
<option value="<!LN>">Last Name</option>
<option value="<!EM>">Email</option>
</select>
the statement
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].text);"
is working fine but when i change it to get value instead of text as
"FTB_API['ctl00_ContentPlaceHolder1_ftbMailText'].InsertHtml
(ddlPlaceHolders.options[ddlPlaceHolders.selectedIndex].value);"
its not showing any thing in the freetext box. Please help me
Thanks
wajans
|
|
|
|
|
hi
I have same problem. I have a freetextbox, a button and a hidden field
I want to insert the hidden field value at cursor position in freetextbox by pressing the buttion. How I can do it using the
"FTB_API['FreeTextBox1'].InsertHtml(HiddenField1.value);"
Please send me complete code.
Code that you used in Code behind file, Javascript and html
I am stucked from last week
Thanks
|
|
|
|
|
Hi..
I want to send multiple http request (eg. to google.com, codeproject.com, yahoo.com,....) & recieve their responses. I want to minimize the time so want to send these requests in parallel. I am making ajax enabled web site. At present i m using async task to send multiple requests but they r nt executing in parallel. Is their ne other way to do this ...
|
|
|
|
|
Is the Function keys(F1,F2....) will work on web application(at run time)?if yes please can i know how it works?
Thanks
|
|
|
|
|
What do you mean?
Do you mean whilst a page is loading?
|
|
|
|
|
...
Blog link to be reinstated at a later date.
|
|
|
|
|
hi, Its my first time for ASP.NET, therefore this question can look strange. I want a big poster image in front page of website. So I splitted that image in some pieces and added same sized ImageBoxes. But problem is that those ImageBoxes are overlapping each other(very small) thats why i can clearly see its parts. Here is screenshot
http://img220.imageshack.us/my.php?image=overlappingdx7.png
any idea to solve this ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
iam having a long page to view.now how can i get the page up and page down when a button is clicked so no need of going for the page scroll.please heip in this reard
|
|
|
|
|
|
i have uploaded the image file using asp fileupload control.
i am uploading files to this folder:
F:\MySite\FileManager\MyUserName
saved the file name and file path to database.
in my database i have DocumetName
TestImage.JPG
and Path
F:\MySite\FileManager\MyUserName\TestImage.JPG
<asp:TemplateField headertext="picture">
<ItemTemplate>
<asp:Image ID="Image2" width="40" runat="server" imageurl='<%# Eval("DocumentName") %>' /> <br/>
</itemtemplate>
</asp:TemplateField>
i tried like this(use Path instead of DocumentName) aslo but it doesn't show any image and no error also
<asp:TemplateField headertext="picture">
<ItemTemplate>
<asp:Image ID="Image2" width="40" runat="server" imageurl='<%# Eval("Path") %>' /> <br/>
</itemtemplate>
</asp:TemplateField>
i am using this to get all file details
Private Sub GetAllTheImages()
' Declare objects...
Dim objConnection As SqlConnection = New _
SqlConnection("Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDB;Data Source=MY\SQLEXPRESS")
objConnection.Open()
Dim myCommand As New System.Data.SqlClient.SqlCommand()
myCommand.Connection = objConnection
myCommand.CommandText = "GetAllTheImages"
myCommand.CommandType = CommandType.StoredProcedure
Dim param As New System.Data.SqlClient.SqlParameter()
Dim myAdapter As New SqlDataAdapter(myCommand)
myAdapter.Fill(GetAllTheImages)
Dim reader As SqlDataReader = myCommand.ExecuteReader()
GV1.DataSource = GetAllTheImages
GV1.DataBind()
objConnection.Close()
End Sub
|
|
|
|
|
it's simple you just have to add a ImageField in Gridview.
Just select the Gridview & click on the arrow shown on Right side(Gridview Tasks)and Add New Column -->select ImageField(Choose a Field Type) & give your column name i.e the column having Path , used in the query to bind the gridview,in Data field
If still not getting then revert back on my mail Id
Darshana Pathak
|
|
|
|
|
Hello All,
I have a web page which has two Iframe call the seprate page now seen is this I select and save some data(product name) in first iframe and now i want to bind a dropdownlist in other iframe with the product name details.
so i want to refresh each time to other page for populating the data in dropdownlist.
So how can i refresh the othe web page when i call the both page in a iframe....
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
hello frds.can anyone help me by telling that how can i play the selected songs from a given list in media player attache to my web page.
gsoand
|
|
|
|
|
Please dont use asp.net as your subject. We know its an asp.net question, thats why you are in this forum.
As for your question, you have to be careful what music you play through your website due to copyright laws.
|
|
|
|
|
thanx for replying.
can you help me regarding this topic.
i am just trying to enhance my programming skills
|
|
|
|
|
What media player? Client side or server side? Is there some particular problem you have?
|
|
|
|
|
its windows media player or flash player.
can you help me reagrding this.
|
|
|
|
|
And again, what problem are you having? Or have you just not tried to do this at all...
Have you googled for embedded media players in a web page?
|
|
|
|
|
Am trying to create a chat engine.. On that how display the name of all logged users... ??
I want to display their name only... How???
Plz dnt give the link..
Plz give me the little code...
|
|
|
|
|
pradees4u wrote: Am trying to create a chat engine
Good start
pradees4u wrote: On that how display the name of all logged users
But you are creating the application, how would anyone else know what your code is doing?
pradees4u wrote: I want to display their name only... How???
See previous point.
pradees4u wrote: Plz dnt give the link..
I assume your keyboard is not working properly, and what you meant was "Please don't give me the link" - so I won't
pradees4u wrote: Plz give me the little code...
Ah, it all becomes clear. The bit about "Am trying to create a chat engine" actually means "I want some idiot to create a chat engine for me" - tough. Do your own code or pay for someone to do it.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Apurva Kaushal
|
|
|
|
|
|
Hey friends.
I have a problem to perform delete operation on folder.
Whenever I delete folder using code, session is expired.
Here is my code.
DirectoryInfo dInfo = new DirectoryInfo(Server.MapPath("../Product/" + ProductId));
dInfo.Delete(true);
Can anyone help me out?
Thanks
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Imran Check the following thread
http://forums.asp.net/t/1182534.aspx[^]
It may help you
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... "
Check My Blog
|
|
|
|
|
plese any one help me
Actualiy i doing search page for Wieght and price using ms access database in asp.net.
my problem is i assing For Weight numeric decimal data type of ms access.
When i fill my sql command in datalist it give error data type miss match.
and i take data type in asp.net decimal for numeric decimal data type of ms access.
my code folling way.
Deciml FromWieght;
Decimal ToWieght;
ToWieght =Convert.ToDecimal(txtToWeight.Text);
FromWieght = Convert.ToDecimal(txtfromWeight.Text);
if (FromWieght ==0 && ToWieght != 0)
{
cmd1 = new OleDbCommand("select * from DtlItem where CategoryID=@CategoryID and Wieght <='" + ToWieght + "' ", myAccessConnection);
}
else if (FromWieght != 0 && ToWieght == 0)
{
cmd1 = new OleDbCommand("select * from DtlItem where CategoryID=@CategoryID and Wieght >= '" + FromWieght + "'", myAccessConnection);
}
else if (FromWieght != 0 && ToWieght != 0)
{
cmd1 = new OleDbCommand("select * from DtlItem where CategoryID=@CategoryID and Wieght between '"+FromWieght +"' and '"+ ToWieght +"'", myAccessConnection);
}
int CatID = Convert.ToInt16(ViewState["CatID"]);
// cmd1.Parameters = CommandType.Text;
OleDbParameter Cat_ID = new OleDbParameter("@CategoryID", OleDbType.Integer);
Cat_ID.Value = CatID;
cmd1.Parameters.Add(Cat_ID);
OleDbDataAdapter adp = new OleDbDataAdapter(cmd1);
DataSet ds = new DataSet();
myAccessConnection.Open();
int x = Convert.ToInt32(Label1.Text);
adp.Fill(ds, x, 10, "MstCategory");
datalist.Datasource=ds.table[0];
|
|
|
|