Forms Data Controls :: Design A Webschedular For Appointments With ASPNET.3.5,sql2008 And AJAX?
Sep 17, 2010I wamt to design a webschedular for appointments with ASPNET.3.5,sql2008 and AJAX.
View 2 RepliesI wamt to design a webschedular for appointments with ASPNET.3.5,sql2008 and AJAX.
View 2 RepliesI am a tech writer and am working in visual studio creating tooltips for an ERP site. Originally we were using the Jquery tools from flow player[URL] but these did not agree with our asp elements. Specifically the drop down and check boxes. It also caused odd display features with our buttons. On one page the display looked great until an autogenerate button was pushed. Then, all of the formatting went away. So my question is, is there something else that's free that can allow me to style my tooltips and work well with ajax?
View 1 RepliesGetting error: "Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider."
I am not usign SQL Express
1. Installed VS2008 + sp1 after that Installed SQL 2008 Standard x86 + sp1
2. Used aspnet_regsql to add aspnetdb to the sql (I can see that db in MSSMS)
3. From my WebProject I can access WSAT but when I click on the Provider and try to test I am getting above error.
Tried diffetent settings in the web.config and also check machine.config Check different solutions form different forums but nothing seams to work.
I strongly believe there is something wrong with my <connectionString/> as by default WSAT points to .SQLEXPRESS but I do not know which file should I update (web.config or machine.config or Web.config)
Do I need to add <connectionStrig> tag to web.config ?
I am using the asp.net mvc with the Entity Framework.I have a list of appointments with a startedat field, an endedat field and a roomid field (called SpaceConfigurationId) and would like to find the list of appointments that have been double booked for a given room. It is fine to assume that endedat is always after startedat.There are 4 cases to would allow an appointment to be matched:
appointment a starts before appointment b starts and ends after appointment b starts and before appointment b ends
appointment a starts after appointment b starts and before appointment b ends and ends after appointment b ends
appointment a starts before appointment b starts and ends after appointment b ends
appointment a starts after appointment b starts and before appointment b ends and ends after appointment b starts and before appointment b ends
I would like the list of appointments that meet any of those requirements. It seems simple but is actually a bit of a mind game. I had a look at intersect but didn't seem to get anywhere.I have the following variable defined and would like to return a list.
IQueryable<Appointment> appointments = Repository.ReadAppointments();
... insert code here ...
return appointments.ToList();
Here is some SQL which is really slow but may help to outline the problem
select COUNT(*)
from appointment a
cross join appointment b[code]....
I am trying to build part of a module where the application will need to email appointments to the recipients. I have some things to meet.
1) the application if using an email and a default email address to email the appointments, the defauilt email address (like notifies@abccd.com) should not be in the meeting list or attendee list.
2) Also if I you are suggesting using the outlook interop. How the application has to be pushed to the server. Should the interop be registered or does it pre-exist in the windows server.
I have a website (ASP.net MVC2) where a database stores data/times of events. I want a client to be able to log in and sync these items to their Outlook. Is this at all possible? I've had a look around but haven't found anything useful, other than this isn't possible in javascript as that would open up all sorts of security holes snooping through users' registrys... If not, I may have to look into basic alternatives such as downloading xml documents with the event details.
View 1 RepliesI installed Rad Controls. Using that controls, I designed my application pages. At design time, the design is not visible. It shows the following error:
RadTabStrip1Failed to create designer 'Telerik.Web.UI.RadTabStrip, Telerik.Web.UI, Version=2010.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
Let me explain my Previous look of a Viewer before i used Telerik. this is a Custom built interface , built with normal asp.net and a lot of css at runtime. I am changing to Telerik Scheduler and its doing nice things for me.
I am trying to customize the Viewer. My Previous Viewer was like this
as you can see the above viewer it has 2 Slots that i defined like this in the Database
By the Look at the Old Viewer it combined the DayView and the Month View. Now i am using Telerik Schedular that looks like this when all appointments are binded
Now as you can see this one too, it different views, but the Currently displayed is a Month-view. When a user Clicks on the more it brings it in a Day View. Now i want to implement the Slot style as depicted in the Oldviewer Screenshot. I want to have Sessions and Days at the Top as depicted in the following Screenshot
As you can see the 2nd Period. if an activity of subject takes double period it should be displayed as that and the time should be removed there, there should be Sessions. if i put it in simple english. On sunday 7 i have Seminar as period 1 and Labour Law as period 2 and Period 3 because it is a double period and on the 4th Period i have Advanced Constitutional Law.
I have a .Net 3.5 web site with master pages. All aspx pages (derived from master pages) have a form name of 'aspnet'. I want to change the form name for each aspx pages for web analytics purposes. I have lot of custom jscript in the site. Is there any easy way to do this without breaking the existing functionality.
View 1 Repliesdesigned a gridview like below
<asp:GridView ID="gv" runat="server" AutoGenerateColumns="False"
CellPadding="3" AllowPaging="True" ShowFooter="true" onpageindexchanging="gv_PageIndexChanging"
DataKeyNames = "fp_id" Width="987px" onrowdatabound="gv_RowDataBound" BorderColor="White" >
[code]...
but in the output for footer its created one more column at the end but i dont want to create a new column for this footer because all other detail cells are empty. i want to show the Footer without affect any other columns.if i include the footer code in the mid of the bound field then also its created a new column so the details cells are empty,
I need to display data in gridview like this.
here Budget01...budget12 : Year1
Budget13...budget24 : Year2
Budget25...budget36 : Year3
Budget37...budget48 : Year4
Budget49...budget60 : Year5
my table(Budget) is having data like this
GLLink AccType Budget01 Budget02 ..... Budget13 Budget14
1 Expense 0 200 ....... 0 4000
2 Current Liability NULL NULL NULL NULL NULL
I need to display Budget01...budget12 as 1 year in one row,Budget13...budget24 : Year2 in another row..in gridview
I need to generate gridview based on table value... let us consider i have in my aspx page one dropdownlist in which i have binded somevalefor example: dropdownlist contain:- Item1 based on Item1 i have three table first table conists A,B,C,D value. Second Table consist 1,2,3,4,5 Third Table consist (0.5,0.6,0.7) for 1, (0.7,1.0) for 2, (0.6) for 3, (0.8) for 4, and another(0.8) for 5 based on this three table i need to show girdview like this which is below If its Item2 dropdownlist then row and column of girdview will be any number based on first,second,third table value for Item2like this if Item3 dropdownlist then row and column of girdview will be any number based on first,second,third table value for Item3.help me to achieve dynamic rows and column based on database value... in asp.net C#....
View 14 RepliesI have a repeater and I'm using collection pager for paging. I can design my collection pager css but can I do like wordpress blogs?
Like: 1-2-3-4-5 ..... 20-21-22
I have the attached database design.
The database has been designed for a tradesman web site, i.e. Plumbers, Builders etc. The two main tables are tblCustomer and tblTrader which will stored data from two frontend web pages where the customer and trader can enter their personal details. After a customer enters their personal details (i.e. registers through the site) they will then be directed to a child page where they can progress to entering a specific job attached to a specific trade (i.e. Plumber) and trade type (i.e. Bathroom Installation), once a customer job has been entered I want these details to be emailed to all the trader_email addresses from tblTrader, from this email alert the traders will then enter the system and offer quotes to the customer through tblTraderQuote where the customer will then accept the best quote for them.
What I also want to implement is some sort of rating option that will allow the customer to rate their trader, either something like ebay's feedback or just a simple 1-5 rating option? How can I implement this into my database design or is this something that should be performed within the programming layer?
i want to apply scroll in gridview....because there are many columns and it makes disorder in my design.i found code from ccodeproject and also in this site
<div id="grdCharges" runat="server" style="width:
875px; overflow: auto; height: 160px;"> [code]....
I installed the AJAX Toolkit (for .NET4) onto a new Toolbox tab in Visual Studio 2010. However, when I try to drag any of these controls onto my Web form in design mode, they won't stick. My mouse pointer changes to 'disabled' (a circle with a diagonal line thru the middle) as soon as it hovers anywhere over my target form. Is there some additional action I need to take to make VS "recognize" these AJAX Toolkit controls?
View 8 RepliesIt just seems strange to have to design three forms to use one control. What i want to know is if I can combine the ItemTemplate, InsertItemTemplate, EditItemTemplate.
View 4 RepliesI have a web service. When called, the web service creates a folder and files on another specified server in our network. When the command executes, I keep getting a crash. Basically, it says the ASPNET account is locked out. I unlock it and try again. Same thing.I tried using impersonate in the web.config, and it still tried to get into the server as ASPNET.The web server hosting the web service has Anonymous access enabled, allows the IIS to control the passworld, and also has intergrated Windows Authentication checked.
View 1 RepliesHow can I sync up the aspnet membership tables among 2 different databases?
View 1 Replieswhen i was creatin the website visual studio created the aspnet.mdf automaticly and it was working fine . i could create a new user and login with no problems but after uploading the site content it wont work any more . so my question is how do i susscefly publish the aspnet.mdf file to the server so it would work
View 2 RepliesI hv one grid view in my form when user open on PC it will look like
Sr. NO | Name | Address | Contact | Qualification |....
1 |XYZ | ashs | 123 | abc |....
2 |HIF | ashs | 123 | abc |....
3 |JHK | ashs | 1243 | abc |....
and when user open site in mobile or Tab it must be look like
Sr. no : 1
Name : XYZ
Address :ashs
Contact : 123
Qualification :sbsb...
_________________
Sr. no : 2
Name : XYZ
Address :ashs
Contact : 123
Qualification :sbsb...
i am trying to show a list of users of my application "school", when admin logs in then he can view all the users in list but when school principals logins, he should get only users of his school, So i thought to get the current loggedIn userId first and then by that userId i'll get schoolId since userId is foreign key in school table...once i'll get the schoolId i can show the members of that school.
But my problem is how to get the UserID of currently loggedIn. I'm using MVC 1.0 Asp.Net -- "Membership" if my logic above is wrong then tell me the alternate good idea, so that principal can see only his users list.
Can we change the table or column name of aspnet membership.If yes? then what will be the effects ?
View 1 RepliesI have an asp.net site running on XP IIS just fine, with login using aspnetdb. However, I wrote a page that has a datasource that connects to the same db, with a gridview that displays users. I've done this before on 2003 server iis 6 no problem. Here I get,
Cannot open user default database. Login failed.Login failed for user (domainusername)This is the identity I set in IIS 6.0 under authentication methods for anonymous access. I had to do this because the site connects to a remote accessdb as well. I cant use a local account or aspnet account.I dont understand how I can use the same site to login and out, but not to access this page.This is my asp.net conection string
data source=.SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;user instance=true
The web config has this:
<
add
name="ASPNETDBConnectionString"
connectionString="Data
Source=.SQLEXPRESS;AttachDbFilename=C:InetpubwwwrootApp_DataASPNETDB.MDF;Integrated Security=True;Connect Timeout=30;User Instance=true"
providerName="System.Data.SqlClient"
/>
Thats what the data source uses.Go figure when I remove and add again integrated security true, I can see the page. WHY I DONT KNOW!!!! But I also call membership.deleteuser() with a delete button, NOW THIS FAILS!Cannot open user default database. Login failed.Login failed for user '(computername)ASPNET'.
I have a web service that uses ThreadPool to delegate a task to a thread but it runs on ASPNET (System.Environment.UserName) while the main thread runs as windows account. How can I make this thread run with same windows account. Note that I have impersonate=true in web.config. This is causing problems accessing database.
View 1 Replies