|
Hello,
Can somebode give me some tips on what to search in order to create a flash control and embed it into my asp.net page.
the flash control is a dll file that i can add it to my toolbox ..
regards,
Elie.
dghdfghdfghdfghdgh
|
|
|
|
|
Stop being so damn lazy This is such a simple thing to search for
here[^]
only two letters away from being an asset
modified on Saturday, October 17, 2009 9:20 AM
|
|
|
|
|
I am a beginner to ASP.NET, and am pulling my hair out over this:
I create a website, put a CSS and an image in the root folder, and apply them to the default.aspx page. I can see the image in the design and split views, and I can also see the the style applied to the text. I check the site via CTRL+F5 with the ASP.NET development server, and all is fine: image, style both present and correct.
I create a folder to hold images, and one for styles. I give every folder in the chain a web.config with
<authorization>
<allow users="*"/>
</authorization>
I move the image and the CSS to the respective folders, and reapply the CSS, and delete and re-insert the image. Again, I can see both image and style correctly applied in the design and split views. When I run the website via CTRL+F5, I get a place holder for the image (but it's the right size) and no style applied. Checking the image properties, I get a url of "http://localhost:1087/ANWS1001/App_LocalResources/Images/BalaSignInSquiggle.png" which looks right.
Any ideas?
[edit]
Solved: don't use the "App_LocalResources" or "App_GlobalResources" no matter how much you think it makes sense! Create your own "Resources" directory and hang the images and style sheets off of that. Works fine.
[/edit]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
modified on Saturday, October 17, 2009 10:16 AM
|
|
|
|
|
Dear All,
I am having an issue. My application (.net2.0/SqlServer2005)is having a strange issue.when i build the application it runs correctly no error no Session value is null. It is redirrected to every intended page. But when i publish the same application and deploy the release its logs in successfully but after that where ever a post back is occured, either by the master page menue or the home page controls, it is redirected to log in page as if some session value is set to null. I have debugged and checked the session value. I am mentainig the session value at login page that is never null and when i run the application it works ok but not when published and deployed. When published and deployed on Windows Server 2003 or local system with Win xp sp2 it runs ok in firefox but not in IE(neither in 8 nor in 6).
Please tell what could be the reason. Remember again no null value in session variables mentained at the log in time.
Thanks
Safvi
|
|
|
|
|
Please reply and help me solve the issue. Its really urgent. Thanks
Safvi
|
|
|
|
|
Have you used Webgarden or Webfarm?
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
Parwej, thanks for the reply. No,I am not using either Webgarden or Webfarm. My application is asp.net2.0 application on iis.
Safvi
|
|
|
|
|
It seems to be your coding issue. If you will post here your code where your setting the session or retrieving the session. One more thing make ensure your session timeout value if sufficient.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
K.Safvi wrote: . Its really urgent.
Amusingly, it's not urgent to us. You should explain what code is failing, what you've done to diagnose the error, etc. You should certainly keep working on it while you wait for people who are not being paid to help you, to do your work for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Did you check the Sessionstate in the web.config file?
set the timeout=30
and also check httpRuntime, try to set the executionTimeout="7200".
I think your application's timout expires or something.
Try this and let me know.
|
|
|
|
|
Hello everybody,
again a question from my side. I've not answered questions here yet, I'm beginner :S
So here we go: I have an ASPX page where you must sign in with Windows Auth. Now I see IE saves my login all the time, but I want to login with an other account. If possible, how can I logout from the Windows Auth?
Thanks in advance!
Madmatt.
|
|
|
|
|
You should switch to Forms Authentication and use the ActiveDirectoryMemebershipProvider.
This link[^] should give you some help
only two letters away from being an asset
|
|
|
|
|
And how do I login then? Is it automatic like it is now or do I have to create a login.aspx page?
If I have to make that page, how should I do it?
|
|
|
|
|
Please read the resources provided before responding, the information is there. You will also find a plethora of information available on Form Authentication if you do even a cursory search.
only two letters away from being an asset
|
|
|
|
|
See, if you know this little about what you're doing, you should not be working on a system that needs to be secure.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hey, I've been trying to fix this and I haven't found anything on the internet about it. I have a text field, and when the page posts back, the value in it has a comma in front of what was typed in. I'm also using asp .net ajax on the page. Has anyone come across this one before?
--Steven
|
|
|
|
|
It is highly unlikely that the comma is just magically appearing with no interaction. Perhaps if you showed some of the code involved we could spot the issue.
only two letters away from being an asset
|
|
|
|
|
Hey, I think I found the problem, but it still makes no sense. I've been using the Ajax Toolkit in my project and I just put the latest build into my project. Anyways, I rolled back to the dll I was using before and the problem went away. I can only assume that there's a glitch in the toolkit causing it since none of my code was modifying field values including my hidden fields! I'm going to check out their developer section to see if anyone else has had this issue.
-- Steven
|
|
|
|
|
Hi folks,
I've notice with a project I'm working on that internet explorer tags the name of an anchor onto the page title if the page is loaded from a link pointing to that anchor.
Eg. "MySite | MyBlogTitle" becomes "MySite | MyBlogTitle#comments"
I've tried setting the page title in the page life cycle but the IE's behaviour seems to add the value after the cycle is complete.
Does anyone one know how to fix this without using javascript?
Cheers
JimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************
|
|
|
|
|
Hello,
The requirement is file transfer via HTTP from local hard drive to Remote server via Http. And I want to show the directories of remote server so I can upload or download file/folder (just work like FTP does but via HTTP)
I have one question about showing the virtual directories of remote server from web application in Asp.Net.
Please guide me whether it is possible or not.
Regards,
Milind
|
|
|
|
|
Do you want to deploy your application to Remote IIS Server or what ? Why do you want to this ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
<asp:datagrid id="DATAGRID1" runat="server" Width="688px" GridLines="Horizontal" CellPadding="4"
BackColor="White" BorderWidth="3px" BorderStyle="Double" BorderColor="#336666" AutoGenerateColumns="False">
<SelectedItemStyle Font-Bold="True" ForeColor="White" CssClass="secondaryContentBoxLightBlue" BackColor="#339966"></SelectedItemStyle>
<EditItemStyle CssClass="secondaryContentBoxLightBlue"></EditItemStyle>
<AlternatingItemStyle CssClass="secondaryContentBoxLightBlue"></AlternatingItemStyle>
<ItemStyle ForeColor="#333333" CssClass="secondaryContentBoxLightBlue" BackColor="White"></ItemStyle>
<HeaderStyle Font-Size="X-Small" Font-Names="Arial" Font-Bold="True" HorizontalAlign="Center"
ForeColor="White" BackColor="SteelBlue"></HeaderStyle>
<FooterStyle ForeColor="#404040" BackColor="White"></FooterStyle>
<Columns>
<asp:TemplateColumn HeaderText="Rno">
<ItemTemplate>
<asp:TextBox id="TextBox1" runat="server" Width="230px" Text='<%# DataBinder.Eval(Container, "DataItem.Rno") %>'>
</asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="StudentName">
<ItemTemplate>
<asp:TextBox id="TextBox2" width="90px" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.StuName") %>'>
</asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
code for saving:
button click code:
foreach(DataGridItem dgi in DATAGRID1.Items)
{
TextBox txtRno= (TextBox)(dgi.Cells[0].Controls[1]);
string RollNo= txtRno.Text.Trim();
TextBox txtStuName= (TextBox)(dgi.Cells[1].Controls[1]);
string StuName= txtStuName.Text.Trim();
}
Hafeez
|
|
|
|
|
And the question is?
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I have seen in many sites. They display an advertisement banner on top of the home page and if user clicks on it he is diverted to that site else he got a option to close the banner.
I am trying to implement something like this but not sure where to look for the examples and what exactly is it called.
Please guide me to the right direction.
Thank You
|
|
|
|
|
Use AJAX Model Popup Extender for the same.
Best Regards,
Chetan Patel
|
|
|
|