|
Sr...Frank wrote: Could you please provide me sample of it..
Oh yeah! There are plenty of articles here at CP. Pick your choice and start learning http://www.codeproject.com/KB/session/[^]
Sr...Frank wrote: I am new for ASP.NET
Being new is not a problem. We all started somewhere. There is a lot to learn if you willing to read.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
|
Hey all,
In my backend (code), i've got a Bitmap, which I've filled with some pixels.
Now I want to show this image on an aspx page. Does anyone has any idea how to solve this problem.
I've tried <asp:image xmlns:asp="#unknown">, but this needs an url.
I Also tried but this also needs an url.
|
|
|
|
|
Img tags are the only way to show images over an HTML. Img requires an url directly to the image. so you have to store the bitmap to your virtual dir and then get the image.
There is no other way of doing this.
|
|
|
|
|
Thank you for your response. Though the anwser has been given to me by my colegue.
It's like this:
backend page 1:
Image1.ImageUrl = "GetImage.aspx?id="
backend page 'getImage.aspx':
int number = int.Parse(Page.Request.QueryString.Get("id"));
Bitmap b = makeImageByNumber(number);
Response.ContentType = "image/jpeg";
b.Save(Response.OutputStream, ImageFormat.Jpeg);
Response.End();
|
|
|
|
|
That means you are directly writing the image stream to the response. it is same as making writing a static link.
If you want to do this, why not u use a special handler for the response. Like ImageResource.axd which corresponds to an handler which will produce images. Even Microsoft does take this steps for writing javascript files to the client.
|
|
|
|
|
Save the Image then you can create <image></image> tag from the code.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I have a gridview inside updatepanel and i bind gridview at runtime.
i want to edit the cell value of gridview(i.e i want TextBox1 in that cell to edit the value).
so i wrote code as
protected void GvAttendenceMonthlyInside_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[5].Controls.Add(new TextBox());
}
}
here problem comes.,
i want to capture the value of edited cell.
i wrote code in Button1_Click() as
for (int ee = 0; ee < GvAttendenceMonthlyInside.Rows.Count-1; ee++)
{
string dayspresent = string.Empty;
if (!string.IsNullOrEmpty(GvAttendenceMonthlyInside.Rows[ee].Cells[5].Text.ToString()))
{
if (GvAttendenceMonthlyInside.Rows[ee].Cells[5].Text==" ")
{
dayspresent = dayspresent + GvAttendenceMonthlyInside.Rows[ee].Cells[5].Text + "|";
}
}
else
{
if (string.IsNullOrEmpty(dayspresent))
{
dayspresent=dayspresent;
}
}
ViewState["dayspresent"] = dayspresent;
}
i pass the ViewState["dayspresent"] as one parameter value to my insert_procedure,but it is always taking "" into it.
plz plz help me in this issue
|
|
|
|
|
katarukoti wrote:
protected void GvAttendenceMonthlyInside_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[5].Controls.Add(new TextBox());
}
}
Why are you adding textbox like this way ? Why you are not using TemplateField .
Problem is in view state because of dynamic creation of textbox.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
At runtime only i need Textbox to edit the value because,
At design time i don't know the columnnames of database(which is binding to gridview)so i am not using any templatefields,and
i am calling one stored procedure to binddata to gridview.
and also my gridview if flexibleone means
i populate one kind of data at the time of insertion
and
i populate another kind of data at the time of updation
so i dont know how many fields i have inside the gridview
that'y i am not using any template field.
hope i will get back ur answer soon.............
|
|
|
|
|
Hi,
I am working in ASP and I want to play a music file at remote server through VBscript whenever an event takes place through my website which is hosted at another server. Please help.
Thanks in advance
|
|
|
|
|
Member 3068951 wrote: I am working in ASP
This is asp.net forum, wrong forum
Member 3068951 wrote: I want to play a music file at remote server through VBscript
Is Google[^] broke where you live?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
There is problem, while accessing page.It display Network Access Message: The page cannot be displayed. It is properly working at developer side. But display message after putting release at server.
|
|
|
|
|
ShahKeran2005 wrote: [Urgent]
Hmmm, not to me....
ShahKeran2005 wrote: There is problem
Houston...Houston... Can you hear me....
ShahKeran2005 wrote: while accessing page.It display Network Access Message: The page cannot be displayed. It is properly working at developer side.
Not helpful error. Turn off "Show Friendly Error message" in IE , Tools->Internet Options->Advanced. That will give you a better error description as to what is going on
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi,
I want to develop a user control for search users by using Ajax in asp.net and C#.net (VS 2.0).
There will be text box, on change of values of text box, users list will be display in grid view. Also wants to implement on mouse over user’s details will be displayed in pop up(as like Gmail search contact).
How can I do this? Can anyone help me for this?
Thanks a lot.
|
|
|
|
|
This pretty easy. It all depends on the following:
How much data are you searching?
What behavior do you want? (search every char stroke, spellchecking, etc.)
You might find this white paper helpful because it details a number of these types of interfaces:
exorbyte white paper[^]
Whether you use c#.net, AJAX or something else, you will need to consider more details. Let me know if you need more help.
Dan - rastaquere AATT gmail DDOOTTT com
|
|
|
|
|
|
bind to one grid..put it this grid in one panel...
and try to use ajax popup control
PopupControlID="that panel"
Eg:
<ajaxtoolkit:popupcontrolextender id="PopEx" runat="server" xmlns:ajaxtoolkit="#unknown">
TargetControlID="DateTextBox"
PopupControlID="Panel1"
Position="Bottom" />
|
|
|
|
|
sahoo.fm wrote: how can i show data(retrived from database) in a popup control
By writing some code
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Yusuf.A wrote: sahoo.fm wrote:
how can i show data(retrived from database) in a popup control
By writing some code
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
My .Net 2008 Web Page project is associated with VSS. When i open the .sln it prompts for VSS User name and password.
1. How can i remove this associated?
2. I want to remove all the files created by VSS, i have removed *.scc, *.vsscc
Which are the file extentions created by VSS?
Thanks in Advance
|
|
|
|
|
Hi,
Deleting all the VSS files removes the bindings.
Alternatively you can login to VSS and then change the bindings, it will then remove the bindings.
Regards
Vijay V.
Yash Softech
|
|
|
|
|
And after removing those file, don't forget to remove the Binding from VS also.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
How can i remove binding from VSS. Can you please provide details?
Thanks
|
|
|
|
|
nilam2477 wrote: How can i remove binding from VSS. Can you please provide details?
Yes!
Open The Solution in Visual Studio > File > Source Control > Change Source Control
Then Click 'Unbind '
cheers,
Abhijit
CodeProject MVP
|
|
|
|