|
thank you. i will check this out.
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I have a datagrid in which I am showing thumbnails in one column. I want the user to see a large image when he click on that image.
Can any one help me?
Thanks,
Swaroop
|
|
|
|
|
It is upto how you want to perform that. What you can do is on the click of that image open the large image in a pop up page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks for your reply, but I didn't get when you said open the "large image". There's no such larger version of that image, I have to make it large and my question is how we can achieve this?
Thanks,
Swaroop.
|
|
|
|
|
Sorry, initially ithought that you are having both the images with you and you just want to display the larger one on click of thumbnail.
Probably this article will help you in enlarging the image.
http://www.codeproject.com/aspnet/ASPImaging1.asp[^]
Best Regards,
Apurva Kaushal
|
|
|
|
|
Put it in an Image control and set the heighth and width to values you want and it will stretch the image. It's going to lose quality, but there's no getting around that unless you have the original, larger version.
|
|
|
|
|
Hello,
I am using FormsAuthentication.RedirectToLoginPage() in my web application. I use this to redirect back if user puts some invalid character(requirement)
Because of this, it keeps on increasing the length of URL.. it keeps on appending the redirect url value in querystring... .
any clue, how can I get rid of this problem.
Appreciate your help.
- ashish
|
|
|
|
|
Where in your application are you using this method? Seems it's used in the wrong place.
|
|
|
|
|
I am calling this on clicking of logout. OR if I detect some invalid operation, I again call the same method which in having that statement.
- ashish
|
|
|
|
|
Hi,
Is it possible to color individual items of a DropDownList box in ASP.Net? I tried the Attributes collection, but it didnt worked. If there is any other way to do the same, i would be interested in knowing. ( even if it is in javascript no problem !)
I will elaborate what i actually want---
If i have some items in my DropDownList as---
ABC
XYZ
PQR
ASDFG
SDFKJ
These entries will be in some logical groups. Accordingly i want to color those entries with different back colors for items in one group--
For example, ABC, XYZ will go with back color = Red, PQR with back color = Blue, etc...
<marquee>"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
|
Hi Anant,
this is the code which solve your problem.
private void Page_Load(object sender, System.EventArgs e)
{
if (!IsPostBack)
{
strConn="Data Source=localhost;uid=sa;pwd=;Initial Catalog=northwind";
mycn = new SqlConnection(strConn);
myda = new SqlDataAdapter ("Select * FROM CategoryTable ", mycn);
ds = new DataSet();
myda.Fill (ds,"Table");
DropDownList1.DataSource =ds.Tables [0] ;
DropDownList1.DataTextField =ds.Tables[0].Columns["CategoryName"].ColumnName.ToString();
DropDownList1.DataValueField =ds.Tables[0].Columns["CategoryId"].ColumnName.ToString();
DropDownList1.DataBind () ;
for (int i =0;i < DropDownList1.Items.Count ;i++ )
{
DropDownList1.Items[i].Attributes.Add("style", "color:" + ds.Tables[0].Rows[i]["CategoryColor"].ToString () );
}
}
}
Hope this will solve your problem.
please let me know if any problem arise
bye
|
|
|
|
|
Hi,
jitu gupta wrote: DropDownList1.Items[i].Attributes.Add("style", "color:" + ds.Tables[0].Rows[i]["CategoryColor"].ToString () );
Thats what i wanted. Thanks.
<marquee>"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
Just a simple question. In asp.net 2.0 when adding javascript to a content place holder do I use the same method as I would with an .aspx page eg. add the script in between the head tags. Content place holders dont have head tags so just wondering. If anyone can clarify this for me please let me know.
|
|
|
|
|
Hi,
In the content place holder go with like this.
<asp:content id="Content1" contentplaceholderid="Cph1" runat="server">
your javascript
then your content details on the page
with regards
Satips
|
|
|
|
|
hello All,
I am working on server automation of PowerPoint through ASP.NET.After every few days I start getting error "Server Execution Failed. It comes in the line where I create the application object i.e.
PowerPoint.Application pptApp = new PowerPoint.ApplicationClass();
Can anybody explain me why is it happening? Till now everything was working properly and suddenly this error started coming up.
Last time when I encountered this error i had to get PowerPoint reinstalled on my server machine, after which error disappeared.
Please help!
Thanks,
Avanika
|
|
|
|
|
Hi all,
I need your help as I have a n-tier application in which under 1 solution there are a lot of projects some of them are web projects and having user controls and I want to share them among these all projects. How could I do it?
Please suggest me.
Smile
Regards,
Ashok Kumar.
With Regards,
Ashok Kumar.
|
|
|
|
|
|
Hi all,
I displayed images in datagrid, But I want to show only two images in grid if they are of height 180 otherwise 6 images of height 60.
I use pagesize 6 this will always shows 6 images without considering image size.
How can I do this.
Please help me .....it's urgent.
Regards,
Nagraj
|
|
|
|
|
Here i am doubtful that something can be done in the frontend part what i think is may if you can in the stored procedure that what are the size of the image then you can change the page size there and can get the required records only. But for all this i am not too sure.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I am developing an application in asp.net using c#.
In that ,I have audio file and i want to identify the words from that audio and I have to write it down.
Plz,Let me know if anybody have its answer.
Swapnil Bhavsar
S/W Developer,Pune
-- modified at 5:09 Thursday 31st August, 2006
|
|
|
|
|
If I understand you correctly you would like to extract the lyrics from a audio file.
Well I don't think that is possible with today's technology. But if it is then I assume that would be one expensive piece of software.
An ways what you are looking for is voice recognition so get some books on that subject if you would like to develop a application like this.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Can someone guide me how to develop HL7 compatible programs using VB/ASP .net ? What kind of client and server based programs have to be developed, anyone has any experience ? any websites/tutorials ?
thanks
anuj
|
|
|
|
|
Depends what you mean by HL7 compatible. If you are trying to write an app to convert your data into HL7 format and back then I would say don't even try. There are a few players on the market that have components to do this and since HL7 is a complex format I found it best to leave it up to them. Another considersation we faced was the legal issues of getting it wrong, this is patient data that deals with the healthcare. Leaving it up to the experts seemed to be the wise choice in limiting our exposure.
only two letters away from being an asset
|
|
|
|