C# SQL - Applications Within Vacancy That View It - Appears In RED
Apr 12, 2010
i have a job application process where users apply for a job, in the admin section administrators want to be able to see which applications have not been viewed. Now i have one page which lists all the job vacancies and then users can click into that specific vacancy to see which people have submitted an application. This all works fine. However on the page i display the job vacancies i need to make it so that if there are any applications within a vacancy that need viewing it appears in RED.
Now the viewed column is in tbl_applications table, the applications relate to a specific vacancy via the job_id. So what i need to check is IF there are ANY applications where the viewed = 0, if so that means that here are applications that need to be seen, and i want this to appear in RED. Now i tried this several ways i.e an INNER JOIN etc.. but the full list of vacancies won't appearing.................
I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?
I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?
Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.
I have a grid view which uses a Datasource to populate it. There is also a OnRowDataBound method which does lots of work using templatefields etc.I have a button which runs a delete method in the code behind, but when i use it the row i delete is still displayed on postback. I tried to set EnableViewState to false for the grid view, but then parts of the OnRowDataBound method failed where a variable set in the Page_Load is used.
I developed an application locally using the Visual Studio 2008 built-in web server and it is running nice and neat on every single browser. When we deployed it on the IIS6 and open it on IE8, there are rendering issues. The fonts are bigger than the other browsers (which are still nice and neat) and some components just moved around. The generated HTML is the same as the others.
is a strange problem am experiencing. have a asp.net 2.0 application then creates bitmaps using GDI+ and then copies them onto hard drive as bitmap files and then web page is updated with URL pointing to the bitmap. using a "dummy query string parameter" to trick the browser into knowing its new images to prevent caching problem where old images are displayed.
the web page can have up to 20-25 bitmap images, but sometimes one of them is missing-- doesn't matter if its long page or short page. when right-clicking on the area and then selecting "properties" it suddenly appears.
was thinking of somehow refreshing programmatically? but don't know how to do that.
I am having an issue with people visiting my site using ie8. It appears that some of my pages seem to render, then disappear. It is only happening in IE8. I looked up a few things on the web and found a few bugs within the browser:
I have the following source below a YouTube player out of AJAX MODAL POPUP PLAYER EXTENDER and a second procedure to AJAX MODAL POPU EXTENDER as can be seen below:
[Code]....
Except that when I click the button to open the internal player to EXTEND AJAXMODALPOPUP it is being hidden behind the player's default page which is outside the AJAXMODAL POPUP EXTENDER The doubt would be how to fix this problem - I'm working on this project in VS2008 on a Windows XP Pro Service Pack III.
I ma using an image button to display an asp.net calendar control (this control comes with VS 2008). However, when I click the image button, the calendar controls is displayed "below" the textfield that it is suppoed to populate. How can I get the control to appear on the right side of the textfield?
I get about 5 minutes of inactivity before a logon box appears for a site I manage. Once logged in, our users must be able to stay logged on all day with no annoying logon popups. This started happening after a change i made to IIS6. We formerly had digest authentication and windows integrated authentication checked and everything worked fine but our users complained because they had to put creds in as <domainuserid>. We want to get rid of the domain requirement. To do this i unchecked windows integrated authentication and added the domain to the "Realm" text box. I can log in now without the domain, and everything works as before but I only get a few minutes before I have to relogon. I tried increasing the connection timout to 36000 and have keep alives checked on the web site property page. I also tried setting the web servers registry setting: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesInetInfoParametersDigestContextCacheTTL to 36000 (ten hours). these changes had no effect that I can see.Our setup:we use SSL and have a test certificate that is expired We are hitting the site on our intranet with IE7 or IE8. The production version of this site is on the internet though.IIS6 on a 2003 serverkeep alives is checkedanonymous authentication is uncheckeddigest authentication is checkedwindows integrated authentication is uncheckedIISRESET was run after each change.
when user click on link, it calls another page which in turn refers some assembly to initiate a download which takes some time to appear as it is rendered on fly..
The issue:
i wish to popup a message .. wait download initiated: when user clicks the download
and finally when the ie download popup appears i want to disable that popup..
In my web site in all html pages I call a function in body onLoad event:
<body onLoad="func1();">
This is part of my template for html, so it appears on every page in my site and I can't change that. Now, the deal is that on some pages, I need to call some other functions onload and I tried with window.onload property, but it wipes the calling of func1...
I now that I can just say:
window.onload = func2(); //where func2() calls to func1()
but this seems dirty and lame? Isn't it? So, is there a way to add some functions to those that are about to be executed onload, without deleting the old one?
I am use the new ASP.NET MVC 2 and Entity Framework, but when I try to create a new view with strongly-typed option selected, the entity objects is not appears at dropdown and I cannot use the view creation wizard. I recompile the solution, but still not appears yet. Have any workaround that I forgot to do to enable the entities to be displayed at dropdownlist ?
I have a base page in which i have a listbox. The base page is also having a modal popup extender. When the modal popup extender appears over listbox, the listbox appears through modal poup. That is, only for listbox, the popup extender becomes transparent.
We implemented Modal Popup in Sharepoint 2007 as a part of one of the User controls. Issue that I am facing is on IE7 the popup appear on botton left hand side of the browser screen. Popup itself is grayed. It works fine in IE 6 i.e. popup is center positioned and enabled Does any body know if this is a known issue with IE 7 and how to rectify this issue? below is the ASCX code for the user control
I´m using different validation controls from asp.net in a page that has like 10 controls. When I click on insert validation occurs but my problem is that error messages appear in summary for some and other validation only takes place when I correct the first errors which is very confusing. I´m trying to get all validation messages to be shown all at once but for some reason not all of them happen at the same time.
[Code]....
I tried to figure out a solution by assigning ordered tab index, but behaviour keeps the same. Some controls appear to be validated first with their respective error messages whereas others are validated after the firts ones.
I have a modalpopupextender and I want to show a panel after a postback which works but once the panel is shown it disappears immediately. Upon reviewing the markup, it seems as though some inline styles are being set.
style="display:none; position:fixed"
If I edit the display attribute and change it to block then the panel will displayed with all its rendered content but I need it to display after a postback. After troubleshooting the only conclusion i have is that the modalpopupextender is setting the inline styles, because when I turn off the modalpopupextender, then the Panel will show correctly.
I've placed Html.ValidationSummary(true) on my page so that an error can be displayed that are not associated with a field.
This renders the following html <div class="validation-summary-errors"><ul><li style="display: none;"></li> when there are some ModelState errors are present, all of which are associated with a field. ie there are no page level errors
I've put some background and border styles on the div which give the look that I want.
The problem is that the div is visible even though the collection is empty.
I understand why this is happening but was wonder if there where any techniches to prevent the html from being rendered or to hide the div using styles if the ModelState errors collection is empty?
If its possible I'd like to avoid using jquery to hide the validation summary as the site should work without javascript.