Is that possible to write a ASP.NET code to connect to SAP without creating a SAP Proxy from SAP.NET connector? I found that a old VBSCRIPT can create a connection, link direct to SAP server, and retrieve data from RFC. But i found nothing by only SAP.NET connector to connect to SAP when using .NET framework. The reason because we found some difficulties when creating a proxy since the SAP server is quite old version. Please help
Tee
Posts
-
Use .NET to connect to SAP without creating PROXY. -
Access control(s) inside ITemplate from code-behindOpp. the HTML-like tag just hits me again. Anywhere, I just found a great solution. Instead of using ITemplate for the "content" propertis, I just use a "Placeholder". And then everything just work great !!!!
-
Access control(s) inside ITemplate from code-behindThen why when i using a Atlas UpdatePanel inside my custom control, i can access the nested control directly. For example With the help of atlas, this time i can access "a" from code-behind. So i think it should have a way to populate nested controls in design mode. -- modified at 7:31 Thursday 21st September, 2006
-
Access control(s) inside ITemplate from code-behindI try to build a custom control. In the control, it has a collection of X custom control, while there is a ITemplate in X in which contains other controls. For example, The problem is I cann't access the "a" and "b" control directly from the code behind. I have to call FindControl () which it makes my code looks stupid (while you have a ten control to call). And i think it has a more ellegent way so i can call the control directly from the code behind. Please help me !!!!
-
Reorder gridview's columnsOh yeah, this might be the cause. I use ObjectDataSource. And i think the GridView do a early bound and cache it something like [ColumnIndex, Value]. Therefore, even if i reorder all columns, but when doing a actual binding The grdiview doesn't use the datafield in each column to retrieve the data, but use the cache data and the column index. -- modified at 10:31 Saturday 19th August, 2006
-
Reorder gridview's columnsNope, this would not work at all; at least for my code. As I said on my question, i can reorder all the columns as expect, and i check that the ICollection that return from the CreateColumns is correct. But however, the data that is bound to the table is not correct. Actually, i already have the solution. I would post here if someone interest.
-
Reorder gridview's columnsI try to reorder column of a gridview by overriding CreateColumns. The problem is after i reorder the column, the result table is not correct. The data that is bound into the result table doesn't arrange as i aspect, only the header is. Here is the example .- no reorder H1 H2 H3 D11 D12 D13 D12 D 22 D23 reorder column H2 H3 H1 D11 D12 D13 D12 D 22 D23 why is it ?
-
GridView - RenderControl with skin bug ?I am extending the gridview control and override Render method. For some reason, i have to call 'HeaderRow.RenderControl(buffer)', 'FooterRow.RenderControl ()', and blah blah .. The problem is all the skin setting is not rendered by these methods ... Why ????
-
GetEventHandler ?I have to create 2 buttons. A event handler is set for a button. For some reason, I need to pass the event handler into another button and remove the event handler from the first button. I try to find something like "GetEventHandler" so i can call AddEventHandler in the second button, but the EventInfo provide none. Any help ?
-
Embedded Resource for a Web App ?I have read so many articles talking about using RegisterClientScriptResource for loading a Js files into a page. However, i can't find "Build Action" on my properties panel for my js files. After a while, some said .... the "Build Action" property for a file is avaiable only creating a server control not the web project ??? is that true ?? If yes, then how can i inject a js file into the web page ?
-
function-based authentication ???I didn't get your answer. I think the rule in web.config is a fixed rule. But in my case, the super user can change the user level right dynamically. For example, mr. A is a user level. Normally, user level can use PDA for reciving goods for all warehouse. However, the super user still can grant whethever this login name (a user level) can use which functions. For example Today he has only right to recieve goods from warehouse 1. However, for tomorrow, the super user will grant mr. A to recieve goods from warehouse 2, and super user will deny him to do so for the next couple day. The main problem here is that i can't assign particular groups (or role) for these functions. Because it depends on superuser decision. And for me having a group (or role) for each functions is not the best solution. Hope you can understand my need ^^'' -- modified at 2:14 Thursday 5th January, 2006
-
function-based authentication ???I found many article talking about role-based authentication. But for my jobs, i need more. My application has 4 groups of user, said admin, super user, user, and reviewer. however, the super user can assign/change a different set of functions that each user can use. If i use the role-based authentication, i have to set one role of a function, then i might have 20+ role. Is there another way to implement such need ???
-
c# compiler -> vb.net compiler problem ??Seems that it is not my code error: System.IO.FileNotFoundException: Could not find file "C:\DOCUME~1\Vithan\LOCALS~1\Temp\srxzw0s0.dll". File name: "C:\DOCUME~1\Vithan\LOCALS~1\Temp\srxzw0s0.dll" at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.CodeDom.Compiler.CodeCompiler.FromFileBatch(CompilerParameters options, String[] fileNames) at System.CodeDom.Compiler.CodeCompiler.FromSourceBatch(CompilerParameters options, String[] sources) at System.CodeDom.Compiler.CodeCompiler.FromSource(CompilerParameters options, String source) at System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSource(CompilerParameters options, String source) at Utility.ActionScript.BuildAssembly(String code) Please help.
-
c# compiler -> vb.net compiler problem ??I am wrting a .NET run-time compiler. It is fine if i compile a C# code using the following code : Microsoft.CSharp.CSharpCodeProvider = new Microsoft.CSharp.CSharpCodeProvider (); ICodeCompiler compiler = provider.CreateCompiler (); CompilerParameters compilerparams = new CompilerParameters (); CompilerResults results = compiler.CompileAssemblyFromSource(compilerparams, code); the compiler run fine. But if i change the comipler to compile a VB.NET code as: Microsoft.VisualBasic.VBCodeProvider provider = new Microsoft.VisualBasic.VBCodeProvider (); ICodeCompiler compiler = provider.CreateCompiler (); CompilerParameters compilerparams = new CompilerParameters (); CompilerResults results = compiler.CompileAssemblyFromSource(compilerparams, code); it is a error at the last line !!! what cause the problem ???? In fact, there are a serveral assembilies i wrote in C# in order to compiler the source code. Does this possibly cause the problem ? it sounds so strange !!!!
-
Remote Object with Singleton mode ??I host a object in a window service, and call it remotely from a particular client. I set the object as a Singleton mode in which it should return the same instance everytimes i remotely call. However, it happens to me that at some point, it will create a new instance of the object ???!!!! What went wrong ?!!
-
ListItem & Attribute problem ?Why i can't set a attribute for a particular ListItem of RadioButtonList and get render correctly ? For example, RadioButtonList rbl = new RadioButtonList (); ListItem li = new ListItem ("aa"); li.Attributes.Add ("onclick", "abc ()"); rbl.Items.Add (li); The onclick attribute will not be rendered on the listitem ? why ? Please help ... thank
-
IMAP and admin account ?How can i use IMAP with admin account to read other accounts's mail? How the find a user path and change the current mailbox to another mailbox ? I amn't sure whethever IMAP can archieve this, if not what protocal i should use ? Please help
-
CommandName without using Command Event ??Is that possible to use CommandName and CommandArgument of a button inside the code-behind without using CommandEvent ? On my page, i have 3 - 4 buttons and at postback time i need to know which button is clicked but i dont' want to have the Command event handler inside my code. So how can i know which button (and/or which commandname) cause the postback ? Thank you
-
trusted connection on exchange server ?I am not sure what i am thinking is possible, or not ? But let' me ask !!!! Is that possible that I can write a asp.net code that can get a trusted connection into his/her exchange mailbox (who is opening the asp.net code) without typing any password or having the code knows his/her exchange account ?? Now i can write a IMAP protocal, but i need his/her account in order to access into the mailbox. With this solution, my client doesn't accept it 'cause of exposing the account. So the only possible way is using the trusted connection, but it can be done on ASP.NET code ???!!!!! I know the window application can get a trusted connection into SQL database, but i don't know about the exchange server and especially ASP.NET code!! Can i get the same way on the web application ? Please help
-
user's password from active directory ?I have seen so many browsing LDAP applications. However, i can't find a property returned from DirectorySearcher.FindAll() that gives me the user's password ? I have some reason that i need to get into the remote AD to get a particular user name and his/her password. But it seems that I can't easily get it T_T Please help