|
Something in the config then?
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings/>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
|
|
|
|
|
Doesn't look like anything out of the ordinary in the file.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Could you maybe zip up your project and send it to me?
|
|
|
|
|
Greetings,
In ASP.NET each time you make a postback the page is recreated, you deal with the page at each postback as a new page and as its for the first time, be aware that ASP.NET is stateless which means it doesn't maintain the state of its objects at each postback, so you have to maintain the state in ASP.NET application, read more about Maintaining State in ASP.NET Applications, either using Sessions or Viewstate and pick the best you want, there are tons of articles about this subject.
Sincerely Samer Abu Rabie
Note: Please remember to rate this post to help others whom reading it.
|
|
|
|
|
If you look at the code, this is within one cycle.
|
|
|
|
|
Your comment did trigger something though. I created a default constructor for the page. For any one page cycle it gets constructed twice. The first is as expected. The second is after the ObjectDataSource1_Selecting. Looks like the framework is creating the page in order to call the DataObjectMethod getItemList rather than using the one that exists.
Now to figure out why this is happening in my environment but not others??????
|
|
|
|
|
Okay, I find that if I return this from the ObjectCreating method of the datasource, it then works correctly. Still doesn't explain why it works for Paul but not me.
protected void ObjectDataSource1_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
{
e.ObjectInstance = this;
}
Thanks for the pokes guys. It pointed me in the direction of the solution.
|
|
|
|
|
Hi All
I am trying to strong name kcommon.dll which is 52kb in size . After strong naming through sn.exe , i am in trouble . The asssembly is now 42kb in size and some of the overridden methods are lost amd i m also !
Can any one please help about what is going wrong.
rinkurathor
|
|
|
|
|
Hi, is it possible in .NET to write applications with Visual Studio style components such as tabbed MDI windows and the interface for docking toolbars etc.?
I've seen some 3rd party libraries for this sort of thing but are 3rd party libraries the only way to do this? It's not something I'm willing to pay for so if need be I'd have to do similar from scratch.
I've not really done much with Windows Forms but I used to use Win32 API and MFC a little so apologies if this is something .NET supports easily straight out the box but if it is I'm not sure where!
Are there any examples on this sort of thing to get me started? I've not managed to find anything by searching.
Thanks!
|
|
|
|
|
Yes it's possible.
You basically have 2 choices.
1) Write it yourself.
2) Find 3rd party controls.
If you choose to write it yourself, the best way to go about it will probably be creating some kind of custom control. You'll have to write all the docking and drawing logic your self. This would be quite complex, and probably fairly tricky.
If you choose to find 3rd party controls you can either find free/open source ones, or you can pay for them. There are open source controls around, which you could either just use, or use as base for your own. There's several on CP: http://www.codeproject.com/KB/miscctrl/magicdocking.aspx[^]
Simon
|
|
|
|
|
|
Nifty. I never knew about that.
Simon
|
|
|
|
|
Hey everyone,
Question... is anyone aware of an SDK or a library that will do audio/acoustic fingerprinting? If not; is anyone willing to help write one? *grin*
In case you're not aware of what I'm talking about - it's the same technology that you see nowadays in the iPhone or what have you ... you hold your phone up to the TV or radio while you listen to a tune that you like; but you're not sure who the song is by... give your phone about 30 seconds, and it returns back to you the name of the song and the artist.
Is there any open source library or SDK that anyone is aware of that could get us coders started on some projects? I'm not interested in creating another "what song was that?" recognition application; but rather something different. Anyways, having such a library would be awesome.
Or, if anyone is willing; could someone give me a few pointers on what it would take to write such a library? I'd imagine there is some sort of hard math involved to figure out patters and peaks; etc to a song. Does anyone know of the research that it would take to make it happen?
Thanks for reading -
Brandon.
|
|
|
|
|
My business partner implemented one to sort identify duplicates and classify images/music. The main issue you will face is that this area, practically, has the hell patented out of it. So don't expect to be making a commercial release
As for open source... the Neuros digital audio computer had an Hear It Save It feature, similar to the iPhone (but this was around 10 years ago), and open source firmware (not sure if this algorithm was a binary blob or not). You might want to look there.
Yes, the math is hard. You will be needing a good understanding of audio transforms, some black magic in recording energy transistions and compressing this all down into a shortish key you can easily index while still doing partial matches.
The iPhone (like the Neuros) will probably use a third party service. I imagine they will make the client fingerprinting libraries avaliable for little cost, and charge a small amount per lookup.
|
|
|
|
|
Language:c#
what i want to do:
Open many images in 1 picture box??? Is it possible??? If yes, will this allow me to move the images and place them anywhere on the picturebox(even over one another) and how??
If not then how to open many images together in one form and allowing the user to place them wherever they want to(even over one another)????
Please help,,, i hope m clear enough...
|
|
|
|
|
why don't you use webparts?And in webparts put the images.
Cheers!!
Brij
|
|
|
|
|
Please use a better subject line next time.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Ditto.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Seems like there is a rash of them lately.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
i have problem in datagridview which is shown in image link bellow :-
link[^]http://img167.imageshack.us/my.php?image=67945689us3.png[^]
as shown in image the red circle shows that there is blank space appear
i don't want that
i cant reduce the size also because sometimes the data is to large
plz help
modified on Saturday, November 29, 2008 9:01 AM
|
|
|
|
|
The link doesn't specify you Qs properly
Cheers!!
Brij
|
|
|
|
|
if u have seen the snap shot i have uploaded
i made a rec color circle to show the place which is empty
when data is small then such problem occur but when data is large then there is no empty space
so i want to fit the data in datagridview even it is small.
|
|
|
|
|
Click the smart tag on the datagridview and select edit columns. Edit the last column and change the AutoSizeMode to fill.
Cheers!
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
thanks for reply
but i am using code to fiil datagridview like
DataGridView1.DataSource = ds.Tables(0)
so there is no columns in smart tag - edit columns
|
|
|
|
|
Then after the grid fills, programmatically change the setting for the last column in the grid?
DataGridView1.Columns(DataGridView1.Columns.Count - 1).AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|