|
Hi,
i was wondering if its possible to resize the height of a listbox when its very populated and the popup list gets too long. I mean:
example
thanks!
|
|
|
|
|
alvarog01 wrote: i was wondering if its possible to resize the height of a listbox
yes it is possible
alvarog01 wrote: example
How to do is left to the reader as an exercise
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, what do you mean? My english is not very good. I tried with many control properties without success...
|
|
|
|
|
i am using a menu control in my project.but its width is not appearing 100% in a web page.while it is showing 100% in visual studio.i also specified 100% width.
<asp:menu id="Menu1" runat="server" staticdisplaylevels="2" staticmenuitemstyle-width="120px" staticsubmenuindent="10" font-names="Arial" orientation="Horizontal" xmlns:asp="#unknown">Width="100%">
<staticmenuitemstyle backcolor="LightSteelBlue">
forecolor="Black"/>
<statichoverstyle backcolor="LightSkyBlue">
<dynamicmenuitemstyle backcolor="Black">
forecolor="Silver"/>
<dynamichoverstyle backcolor="LightSkyBlue">
forecolor="Black"/>
<items>
<asp:menuitem text="Home" value="Home">
<asp:menuitem text="About US" value="About US">
<asp:menuitem text="Job Search" value="Job Search">
<asp:menuitem text="Jobseekers" value="Jobseekers">
<asp:menuitem text="Career Advice" value="Career Advice">
<asp:menuitem text="Employers" value="Employers">
<asp:menuitem text="BLANK" value="BLANK">
<asp:menuitem text="Contact US" value="Contact US">
thanks in advance....
|
|
|
|
|
You better add a CssClass to the asp:Menu
in your css-file you create that class and there you state: width: 100%;
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
I have set timeout="120" in my web.config file, but why it has been auto logged out between 10 to 20 mins.
Thanks in Advance
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: I have set timeout="120" in my web.config file
There are many timeouts that can appear in a web.config file. Did you set the correct one?
Sarfaraj Ahmed wrote: why it has been auto logged out between 10 to 20 mins.
Do you have InProc session? Is the app domain recycling frequently?
|
|
|
|
|
i have followed asp.net security video from asp.net website and I have done samething as they said on video.
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: have followed asp.net security video from asp.net website and I have done samething as they said on video.
Rather that doing the things in first step, first of all you need to know why you are doing that.
Did you gone through the Colin's question?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
my web.cofig file as follows
<br />
<authentication mode="Forms"><br />
<forms loginurl="secure/login.aspx" defaulturl="default.aspx" cookieless="UseUri" timeout="90" slidingexpiration="true" /><br />
</authentication><br />
<br />
<machinekey><br />
decryption="AES"<br />
validation="SHA1"<br />
decryptionKey="96F95BF54FCDB28DC6BADE1162FE4A130E5417EEEFB3DEDFFD94A90AD5D62143"<br />
validationKey="BBEC4E221B6735DAF71AA30C715AC001591D718F3A4FD3C5BE71985FB5F94401"<br />
/><br />
</machinekey>
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: my web.cofig file as follows
<forms loginurl="secure/login.aspx" defaulturl="default.aspx" cookieless="UseUri" timeout="90" slidingexpiration="true">
and where is your Session State Settings?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
i did not use any session state setting
Sarfarj Ahmed
|
|
|
|
|
Then that's your problem. You are using the default session state settings which is InProc time-out after 20 minutes.
|
|
|
|
|
Hello Everybody
I bought some https space
For login I want to send customer to https://........../login.aspx
After Login succesful I want to redirect page form https to http
My question is:
After redirect from https how http will know customer is logged in? As I think on my http master page I can use some property to keep Request.QueryString value.
There is some trick.......
Could you pleae give me idea
Thanks is Advance
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: As I think on my http master page I can use some property to keep Request.QueryString value.
QueryStrings should never come in to the equation for authentication/authorisation in my opinion.
Have a search on the internet for "ASP.NET Forms authentication" that will put you in the right direction.
|
|
|
|
|
|
hey im just wondering if there is a way of retreiving specified weekly and monthly data from an sql data source and then display it? would be great of someone could help me out.
thanks
|
|
|
|
|
Yeah there is, it's called SQL, so this is a SQL question. Of course, you need to time stamp your data.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi,
i am searching the way to bound / unbound one Dropdownlist which is inside a detailsview EditItem Template. I figure it would be something like:
SelectedValue='<%# (Eval("Tipo") == "CU") ? Eval("Descripcion") : (Unbound) %>'
Of course, "(Unbound)" is fake and doesn't work. This second part of the condition is the one i don't know how to specify.
Can it be done this way? if not, is there another one, maybe in Design View?
Thanks!
|
|
|
|
|
The Datasource for my gridview is MemberShip.GetAllUsers().
Along with the BoundFields, i added a CommandField and set the option 'ShowEditButton' to true.
when i click on the 'edit' command on the grid, the fields in the grid do not change to edit mode.
My application executes the RowEditing event, but the grid display does not change to edit mode!
Is it because, the datasource is neither sqldatasource nor it is implementing iList interface?
Thanks,
NetQuestions
|
|
|
|
|
after setting the EditIndex, you still have to reload your GridView component, so bind the data again.
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
I have an subreport in the details section of main report. My dataset for subreport have 12 records it prints 3 records and then miss the fourth one on page 1 and on page two it starts from record 5 don't know why?
Fourth record misses everytime at the end of the page1.if i reduce some data in record 3rd it gets printed.
Rickey
modified on Saturday, April 18, 2009 7:56 PM
|
|
|
|
|
Hi
I have a Microsoft Web ReportViewer Control and I don't want to use print button of toolbar.
Instead I've created a byte array of report content, how can I print this byte array?
I don't want to show a file and in the file I user prints the report.
I want tp print the byte array directly
Best wishes
|
|
|
|
|
mehrdadc48 wrote: how can I print this byte array?
What is the content of this byte array? If it contains the report formatted with HTML tags, you can use Response.BinaryWrite(YourByteArray) . Then use RegisterClientScript() method and emit JS window.print which will print the window.
|
|
|
|
|
Hi
I have created my own browser in Visual Studio (in other words it is an instance of IE), but what I am looking for advice and assistance is how can you create a control which if the user isn't using the browser that it closes down.
This is a browser that will be sitting on an Intranet not the Internet, though!
Thanks
|
|
|
|