|
Make sure that there is no markup in the page that gets sent along with the image data, only the @Page tag.
---
single minded; short sighted; long gone;
|
|
|
|
|
There isn't, and more, I say response.Clear(); before BinaryWrite()
|
|
|
|
|
I looked into the source again and I tried
Response.OutputStream.Write(imagedata,78,1000);
But now mozilla doesn't say the immage cannot be displayed, it just doesn't print it.
|
|
|
|
|
I did it. Just omit the first 78 bytes from the file. After this wonderful solution, I believe I won't let anyone persuade me again into writing aspx.
Why I don't like aspx.
|
|
|
|
|
In my web application , I have one master page with one tree View control.My tree view showing links based on the user who logined. How I can avoid database reading in Each page with out using Session Variables.
'TreeNodepopulate' Event is executing in each page load. How I can avoid this one.
Please Reply
Urgent......
Thanks in Advance
|
|
|
|
|
did you try using
ispostback property to avoid treeview control updating every time when page loades.
|
|
|
|
|
hi friends
i want to create javascript quiz..
i will get answer like this:
1.percentage of score
2.like totally 5 question,your correct answa was 1/5
3.comments: your scoring is poor
can u help me???
regards
saravanan
|
|
|
|
|
saravanan05 wrote: can u help me?
I don't know who this "u" person is that everybody seems to be talking about nowadays...
If you post a specific question, I am sure that there are a lot of people here who can help you. For a plain Javascript solution you should post in the web development forum, though.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa wrote: I don't know who this "u" person is that everybody seems to be talking about nowadays...
U are so bad, he is talking to U, asking U a question and U say that you don't know who the U is.
|
|
|
|
|
Hi All,
I know that Menu control can be directly binded with either Xml data source or site map data source. I know that while using site maps, we can specify the roles for each site map node. I want to know, Is it possible to use SiteMapProvider with Menu control without using built in role or other (Membership) providers. Means all the security related checks will be in some code layer. And only the site map is used to bind with menu control with roles enabled. Also security trimming must be enabled. If it is possible then how the menu control will not show links which are not for a particular user, because the role is identified in code, without any role provider extended ? I know that i sound foolish asking this sort of question but i am struggling with this question for long period now.
Second question is - If a user is in multiple role and i am using menu , sitemap and security trimming is enabled. Then I want to know how can at runtime the users current role can be checked. I want that even if user is in multiple role, at a time on each screen he/she is in only a current node. And there will be facility to switch role form some other screen. Is it possible if i extend the role provider or role manager.
Expecting a quick reply, since I have already started scratching my head.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi all,
code is given to me
but when i am trying to open that code in visul studio 2005
its giving following error
-----------------------------------------------------------------------------------------------------
‘ Microsoft Visual Studio [?] [X] '
-----------------------------------------------------------------------------------------------------'
' The project file ‘FULL_PATH_TO_THE_PROJECT’ cannot be opened.'
' '
' The project type is not supported by this installation. '
' '
' [ OK ] '
------------------------------------------------------------------------------------------------------
please help me what can be the problem
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
You haven't got the part of VS installed to open that type of project. What's the extension of the project file?
|
|
|
|
|
its a web project and i am trying to open it with .csproj file
and prebuilt .sln file
provided to me with code of that project
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
Do you have the C# section of visual studio installed?
|
|
|
|
|
Install the latest service pack for Visual Studio 2005 and then open the project.
|
|
|
|
|
Make sure you have the Web Developer bits installed - they're not added by default, and without them, you're scuppered.
Use the install CD, modify or repair, and add the bits you need
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman"
(Lilly Allen / Kaiser Chiefs)
|
|
|
|
|
Hi,
In the Windows Marketplace website they have they following tests:
<!--[if lte IE 6]>
<![endif]-->
and
<!--[if gte IE 7]>
<![endif]-->
What does "lte" and "gte" mean? Is it required?
Regards
ma se
|
|
|
|
|
lte <=(less than or equal to) gte is >= (greater than or equal to)
|
|
|
|
|
hi...
Does anybody know if there`s a limit to the form post method?
I`m trying to pass some values (form input hidden/text and select fields) through ASPX pages, but my Request.Form collection isn`t complete on the receiving page - it only has the firsts elements in my form. The page that passes the values is only a html page with the .aspx extension - it doesn`t contain anything ASPX related.
I`m using .NET 2.0 with VS2005 and IE6 and FF 2.0.
Also, i have read some hints on the internet without any help (changing the reg. [B]MaxClientRequestBuffer [/B]value or putting the ENCTYPE="multipart/form-data" into the sending form tag)
thanks in advance...
|
|
|
|
|
pontonet wrote: Does anybody know if there`s a limit to the form post method?
There is of course some limits. Perhaps you can't have more than 65535 fields in the form, or each value can not be larger than 4 GB, but you certainly have not reach any limits like that.
There might be an error in the page. Perhaps you have placed some form fields outside the form that is submitted. If you have more than one form on the page, only the fields inside the form that is submitted will be sent to the server.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi,
I am using ASP.NET 2.0 with themes in my web application. Each theme has it's own set of similar stylsheets.
If I have certain stylesheets that are used on every page and certain stylesheets that must only be used if it is IE6 or IE7, how do I specify this if all stylesheets are "imported" automatially into the web page?
Normally you would test like this in the web page:
How do I do such a test if all stylesheets are "imported" automatially into the web page?
I hope someone can help me.
Regards
ma se
|
|
|
|
|
Hi All
Working with GridView I am facing problems.
1. The GridView is expanded when I Editing it. I've tried EditRowStyle wrap and width properties but no solutions.
2. How can I Insert a combo box in Edit mode of Gridview. So user can select items while Editing the gridview.
One more thing I want to include that I am not using sqlDataSource for binding the GridView, Actuall I am creating a DataTable runtime based on that GridView' rows and attached to GridView.
I am inserting data into GridView using different operation that is AddRow
Hope It is sufficient to understand.
Thanks in advance
Bye
__________________
I am using .NET 2.0 (VS 2005)
axn
I am using .NET 2.0 (VS 2005)
|
|
|
|
|
1. You will probably need to change to Template columns. That way you can control the size of the controls. so your labels are getting changed to text boxes. If you use template columns you can set the width of the label to match the textbox or set the width of the textbox to match the label.
2. Again using a template column you can delete the existing textbox and put a combobox there instead.
Hope that helps.
Ben
|
|
|
|
|
I not using Template column, As I told before I am creating Table runtime and attaching it to the gridview.
I am a newbie in asp.net, So please tell me is it possible to use Template column without having datasource attached to it.
IS it not possible to do this without Template column??
Hope to get early respone. Thanks in ADvance.
-- modified at 11:18 Wednesday 2nd May, 2007
axn
|
|
|
|
|