Web Forms :: Semantically Driven Linq-olap Content And Webparts?
Jun 13, 2010
it will be very interesting that controls for input in forms have another property ie semanticid semanticname so semantically can be relationate i.e textboxes content if then we retrieve the data using linq having olap cubes we could have a lot of diferent views comunicating diferent controls of diferent webparts that shares the same semantically set or point to same ontology for the several dates or same localization from different input forms collection data,etc.
I am able to dynamily bind my grid to the cube based off the facillity I have selected. Now, if a facility has multiple cubes, I want the users to switch between the two cubes dynamicly, so I have created a drop down list showing their cubes and the ones that they can select. Currently I'm been trying several things in order to "rebind" the data but they don't seem to be working, so I figured I would attach my code to see if anyone Had a good idea.
If I make the cube change then switch back over to change facility and then back to the page, the new cube will load. So I have to find a way to do it in the one step rather then have them navigate to another page and then back again. Perhaps auto navigate them to a page and have that page send them back etc... Anyway here is the code: I first bind the data via the page_prerender call
[Code]....
Then the code drops down into the LoadCube(FacilityID) sub routine
[Code]....
Then here is the setup for the subroutine that will call the page load/ should change the cube to the correct cube.
I am fairly new to the asp.net scene. Having build a dashboard gathering info on my OLAP system's health status, I can't seem to figure out how to make sure that I catch the no connection exception.use the following statements on the datagrid:a) want to change the color of ssas2 button to red if an exception is thrown
how to present a .cube created in BI Development Studio as part of a .aspx page? Windows Server 2008 hosting the site using IIS 7. The SQL server and the management studio and the BI Development Studio used to create the .cube are on the same windows server. Am using Visual Studio 2010 Premium to develop for .NET Framework Verison 4. Using an impersonation account to control access to the db.
I usually work with windows forms, and am just starting to work with ASP.Net, so appologies if this is a dumb question!
I have a master page which has a search button on it. The results of this are built up using a Linq statement and if there are any results, I want to display the results in a contents page.
I am fairly new to the asp.net scene. Having build a dashboard gathering info on my OLAP system's health status, I can't seem to figure out how to make sure that I catch the no connection exception.I use the following statements on the datagrid:a) want to change the color of ssas2 button to red if an exception is throw
I have a live working website (ASP.NET 3.5) that pulls data from an OLAP cube on a remote server without any problems. However I now need to move the website to a different web server, and for reasons unknown I cannot get the OLAP queries to work in the new location.
I have installed the same versions of .NET Framework (3.5) and ADOMD.NET (8.0) on both servers, and the website pages were copied across servers with no changes made, so this can't be a coding issue. However I get errors like the following when the new site tries to query the OLAP cube:
[Code]....
(Note: run_olap_query is my method that attempts to run the query). The error would there is a mistake in the syntax of the MDX query, however that is definitively not the case. I have retrieved the MDX that the page attempted to run at the error reporting stage and have run it manually in Analysis Services - it returns results with no complaints. The same MDX queries are also still running quite happily on the original website.The only notable difference I can spot between the servers is that the original server has SQL Server 2000 installed and the new server has no version of SQL Server, but I would not expect the site to need SQL Server on the local machine to run these queries. Does anyone know if this is the case? I'm somewhat stumped as to what the cause of the issue is here, and am completely out of ideas as to where to look.
P.S. Here is my code, though I do not think it will be relevant:
I have designed a gridview one of the fields of which I want to send the user to an URL onclick. After browsing the net for a while, I opted for converting the BoundField to a TemplateField. The same OLAP metric ([Measures].[GP]) works fine in the bound field yet produces an error in the Template:
I have not worked with Linq, but I need to fix this piece of code. It turns out that the code above does not capture the input or div controls !
Here is the code, the problem is that the inputControls.Count is always Zero and cannot execture any further code. my question how can I fix the fir two list code? and I do not know why
I use Visual web developer express 2010, with sql server express.
I followed all the instruction to build a simple page with webparts. I added the webpart manager, webpart zone, zone template and added my user control or asp controls inside.
The webparts look as they suppose to in design view, but when I run the application and see the page in the browser (explorer 8 Or Chrome) the webparts look like cells in table: Static, with no menu that will allow the user to minimize or to close the webpart. None of the webparts have the small triangle menu icon.
I amcreateinga dynamic web application and I wand the ablity to to control the bcakround color and backround images to controled by a database entery. does anyone know how to do this I am at a loss and I have been searching on the web all day to do this
i created a webpart in default.aspx page. i am trying to access the html code of the default.aspx page from an html file using javascript. When trying to access a javascript error is displayed 'webpartmanager' is undefined. the functionality i am trying to achieve is i want to call all the webparts created in default.aspx page from html page and do all the drag drop, minimize, close in html page.
We have a generic site which we deploy to clients and they personalise the text using the web parts. The problem we are currently experiencing is that they are unable to move web-parts between zones. This is not a JS issue as no errors are being thrown and this is not a CSS issue either, as we re-deployed the website here on our own server and it works perfectly fine. On our client's site, we can drag parts around in the zone it is in, however when we try to move a part out of that zone, we are given a circle cursor with a line through it. Adding parts to a zone is not an issue.
This could perhaps be linked to a previous issue of being unable to view any editable parts of a webpart. I resolved this by removing all the WebPersonalization from the WebPersonalization table in our MSSQL database.
I have one of the .Net site running and want to implement web-parts on that site. well I am not using (aspnet_Users, or aspnet_Membership) defaults tables from aspnetDB but I have my own login controls and create new user contols ect on the site. so in short I have the users uniq ID when logged in from our corporate database nothing similar to aspnetDB.
Hecen want to know can I impelemt webparts in the existing site by just importing the tables from aspnetdb like (aspnet_PersonalizationAllUsers, aspnet_PersonalizationPerUser) to my database and what else I will require apart from these tables?
1. which list of store procedures I should coopy?
2. Any modification to my web.config?
3. Are their any functions/classes which I might have to copy to my App_Code folder to work these webparts with my exisitng site and userdetails
I am using web parts in asp.net 2.0 . Its all work well except every time I drag & drop or minimise and element the whole page get refreshed. I am also using master pages and theming.
Did anybody do Database Driven - Horizontal and Vertical Nav without using XML?is it possible to bind menu control with query or view and pass query string to find particular horizontal nav and vertical nav?Please post working solution, i was trying for days to find a working solution. All the samples i tried is not working or it is too complex.i love to write and manage simple code.