|
I see many site have for each user own libary
ex: www.somedomain.com/users/newUser
My question is how can i do that? how can i create for each user
his/her own libary not using IIS ofcourse because
what if i'd have 10000 users...
than x
|
|
|
|
|
Adding to the other reply,
You can also use ASP.NET MVC which will produce URLs like what you said. But it is still in beta
|
|
|
|
|
Hey Navaneeth Congrats For MVP !!!
cheers,
Abhijit
|
|
|
|
|
That was unexpected. Congratulations to you too!
|
|
|
|
|
N a v a n e e t h wrote: That was unexpected.
Not At All !!!.
cheers,
Abhijit
|
|
|
|
|
Congrats...
N a v a n e e t h wrote: That was unexpected
I don't think so. Because after CG it was you and abhijit who were very regular in asp.net forum. A well deserved for both of you.
Apurva Kaushal
|
|
|
|
|
Thanks Apurva.
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Hi
Can i bound TreeView Node Editor with my custom server control if yes the how can i change it properties
Thanks
|
|
|
|
|
Does anyone have any suggestions for a good, web based math equation editor? Ideally it would be pure .net, but I'm open to flah or java if required.
Any suggestions would be appreciated
|
|
|
|
|
Hi ,
I have created one image using graphics and saved in the stream.
the code is given below.
what i need is, i have to set the image to the imagebox in the application, the image box is not having and option to set the image? how to do that?
public void test(string strText)
{
Response.Clear();
Random r = new Random();
int height = 156;
int width = 535, x = r.Next(75), i = 0, j = 0, k = 50;
string[] strName = new string[20];
for (i = 0; i < strText.Length; i++)
{
strName[i] = strText.ToString().Trim().Substring(i, 1);
}
Bitmap bmp = new Bitmap(width, height, PixelFormat.Format64bppPArgb);
Graphics g = Graphics.FromImage(bmp);
g.TextRenderingHint = TextRenderingHint.AntiAlias;
g.Clear(Color.White);
for (i = 0; i < strText.Length; i++)
{
if (j == 0)
{
SolidBrush brush = new SolidBrush(Color.FromArgb(255, 00, 00));
g.DrawString(strText.ToString().Trim().Substring(i, 1), new Font("Trebuchet MS", 50, FontStyle.Italic), brush, new PointF(k, 10));
}
else if (j == 1)
{
SolidBrush brush = new SolidBrush(Color.FromArgb(00, 255, 00));
g.DrawString(strText.ToString().Trim().Substring(i, 1), new Font("Trebuchet MS", 50, FontStyle.Italic), brush, new PointF(k, 10));
}
else if (j == 2)
{
SolidBrush brush = new SolidBrush(Color.FromArgb(00, 00, 255));
g.DrawString(strText.ToString().Trim().Substring(i, 1), new Font("Trebuchet MS", 50, FontStyle.Italic), brush, new PointF(k, 10));
}
else if (j == 3)
{
SolidBrush brush = new SolidBrush(Color.FromArgb(255, 00, 255));
g.DrawString(strText.ToString().Trim().Substring(i, 1), new Font("Trebuchet MS", 50, FontStyle.Italic), brush, new PointF(k, 10));
}
j++;
if (j > 3)
j = 0;
k = k + 40;
}
bmp.Save(Response.OutputStream, ImageFormat.Jpeg);
g.Dispose();
bmp.Dispose();
Response.End();
}
|
|
|
|
|
The typical way is to either create a bitmap in the file system and use the URL to load it in, or you create a page that your image control points to, and it takes a query string parameter to stream back the bitmap.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Mr Christian Graus,
Thanks for your response.
actually my requirement is to load that image to the image box that is kept on the particular position on the asp.net page.
the coding gives me the image in the separate page.
i want to have that image in my image box.
How to do that?
|
|
|
|
|
Hi All,
I need code or way so I can insert any text or number into textbox and convert it to barcode format. any help plz
Regards
|
|
|
|
|
|
I already do this, but no result found !
thanks for help !
|
|
|
|
|
|
This is not an ASP.NET question, you'd find an existing library and then pass the bitmap it generates to a webpage.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thanks that was helpful.
regards
|
|
|
|
|
Hi Friends,
I am binding a grid view using Generic List. I am using c#.
I am sorting my gridview and its perfectly working.
In my grid view I've a link button which takes user to the Details page of teh recod to view the page. working perfectly.
Problem is:
When your clicks on search button I am querying database with default order by organisationtitle.
then if user sorts gridview by post code and clicks on view detail link which takes user to the detail view page.
Now if user uses browswer button to come back on the search page gridviw automatically sorts the data by title but it should be sorted by post code as user last time click on post code to sort the gridview.
Please let me know if you need more details.
|
|
|
|
|
I'd suggest you need to put the sort order on the URL, so when you go back to the URL that has the initial view, the URL gives you the sort order. The other option is to use the session, but there's no need for that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for the reply,
I found the solution.
I was using Gridview inside asp.net update panel. Removing it from asp.net update panel i got what i wanted.
I guess partial page request was an issue.
|
|
|
|
|
I am generating my own sessionids by overriding createsessionid method in sessionidmanager class.
Can anyone please tell me how to find out if the current request is a complete postback request or asynchronous postback ?
|
|
|
|
|
Member 2437558 wrote: I am generating my own sessionids by overriding createsessionid method in sessionidmanager class.
AFAIK , SessionID is unique and 120 bit identifier that track each and every session request. And This number is generated by proprietary algorithm . and its secure enough to reverse engineering it.
Then Why you are trying to do this ? can you please explain . I am realy interested to know .
cheers,
Abhijit
|
|
|
|