|
The updatepanel will work fine, if inside it, you create events that create a postback and update the content of the page. A better solution, is to generate your own javascript, which would give you more control and make it more responsive.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi All..
Can any one help me.
I've a VB6.0 application and i want to call a method in WEB Service (vb.net).
What are the procedures to be followed.
|
|
|
|
|
I googled It And Got This It MAy Help U ..!
in my Web Service Class(C#):
[serialize()]
public class people
{
public string ID;
public string firstname;
public string lastname;
......
}
[WebMethod]
public people Get_People()
{
people p = new people();
p.ID = data[0];
p.firstname=data[1];
p.lastname=data[2];
....
return p;
}
The url of the web service is "http://localhost/service/service.asmx".
Before I create a vb project I install the Microsoft soap toolkit Version 3 SDK.
Then I create the vb project and add the references "Microsoft soap type library v3.0" to the project.
Here is Code of VB:
Private Sub Command1_Click()
Dim soapClient3
Set soapClient3 = CreateObject("MSSOAP.SoapClient30")
On Error Resume Next
Call soapClient3.MSSoapInit(WSURL, "", "")
If Err <> 0 Then
MsgBox Err.Description
End If
Dim obj as Variant
obj = soapClient3 .Get_People()
If Err <>0 Then
MsgBox Err.Description
End If
Set soapClient3 = Nothing
End Sub
Try To Post Your Question In Vb6 Blog.This is nothing to do with asp.net and first try google it
If It Helps Click It as Answer
|
|
|
|
|
Whatever methods you may call, they have NOTHING to do with ASP.NET.
VB6 is rubbish and unsupported, you should consider moving if you can
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hello.
I wanna make a text with an editor on web pages.
and I found a lot of things related to text editor.
For example, FCKeditor , ckeditor, tinymce, wisywyc and so on.
But, I really don't know how to create and use them.
I wanna see source codes about them.
but there is no any source code. it just was showing the feature or something.
Even I downloaded a file including source codes with Ajax.
but it doesn't work in VS2005.
If there is a good open source or something and you know the step about how to create and code them,
please let me know..
I really feel heavy in my chest..because I'm a beginner for asp.net..
Thank you...
|
|
|
|
|
lsh486love wrote: For example, FCKeditor , ckeditor, tinymce, wisywyc and so on.
But, I really don't know how to create and use them.
Have you tried their documentations?
lsh486love wrote: Even I downloaded a file including source codes with Ajax.
but it doesn't work in VS2005.
ASP.NET AJAX? Make sure you have AJAX server extensions installed.
lsh486love wrote: I really feel heavy in my chest..because I'm a beginner for asp.net..
A good book can change the feeling.
|
|
|
|
|
N a v a n e e t h wrote: A good book can change the feeling.
If It Helps Click It as Answer
|
|
|
|
|
|
You asked this and were answered yesterday.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
I have a rather unique issue. I have developed a Windows Forms application that basically records information such as employee name and employee number and writes it to SQL. Now I have started with a web application that can access the same information via a DAL. I have configured security using the default ASP.NET membership provider and role provider. The project has also been configured to use Client Application Services which means that you can login to the Windows Application the same way as you login to the web application.
My problem is that if Person 1 login to the application then all the information for Person 1 needs to be displayed. Currently You have your login credentials by way of registering but there is no link from the security database to the application database.
Any suggestions as to how I can achieve a working model of this?
Thanks!!
Illegal Operation
|
|
|
|
|
Hi,
In aspx.cs file: We can put the comments using // or /* */
In aspx file: <!-- --> used for client side code, <%-- --%> for server side code.
Is this the way only?
Any best practise from performance perspective i.e. which type of comment to be used to put less load on server?
|
|
|
|
|
All your comments are stripped exactly the same. The big issue is, comments in your ASPX get sent to the client, too, which is a bandwidth issue. There's no 'high performance comments'.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
<asp:templatefield headertext="Project">;
<edititemtemplate>
<asp:textbox id="cmbProject" runat="server" text="<%#Bind("EMP_NAME")%>">
<itemtemplate><asp:label id="Label4" runat="server" text="<%#Eval("EMP_NAME")%>">
Text box Label
Bind Bind
Eval Eval
Bind Eval
Eval Bind
I have used all the above 4 combinations. But no diffenrence. Same output functionality every time.
As per info, bind for edit+read, eval for read only.
But in actual both are doing same.
So anybody can tell what's the diff?
|
|
|
|
|
It used to be more verbose. I suspect that two shortcuts exist, and they work basically the same. I googled it when you asked this days ago, and couldn't find a better answer.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have observed that for dropdown, we have to use either DataValueField or DataTextField or both. Without these, values are not visible in dropdown.
Still confusing wWhat's the purpose of DataValueField and DataTextField?
Why to use and which to use when?
As per my undertstanding:
DataValueField: for Backend
DataTextField: for front end
But in general scenarios, whatever we display in dropdown using DataTextField, we will update/delete etc the same at backend using smae colum in DataValueField.
SO any good example to show their diff as well as utility?
|
|
|
|
|
amittinku wrote: DataValueField: for Backend
DataTextField: for front end
Correct.
amittinku wrote: But in general scenarios, whatever we display in dropdown using DataTextField, we will update/delete etc the same at backend using smae colum in DataValueField.
Sometimes. It's often possible that you would, for example, show a list of employee names. Odds are, you'd prefer to look them up in the database using an employee id. That's what the value field is for.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
Is it too bad if I create my own user management instead of using the AccountController and the filters [Authorize], etc?
If not, do I just remove the views and controller associated?
If it is bad (maybe because it is very flexible), is it possible to map from a database the users easily? I'm using Linq to sql
Thx
|
|
|
|
|
I don't think it's ever bad to write your own code, I think it's a plus. Unless the built in stuff is EXACTLY what you need, why use it ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi,
i use ASPNetFlashVideo ,i have many clips i want playing these clips one by one on same ASPNetFlashVideo player.
thanks
|
|
|
|
|
This has nothing to do with ASP.NET. Flash videos are played in a flash component. Your flash component needs to support playlists to do what you want to do. The one I use, does.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hello,
This is Vikash Gohil.
I have a query related to DLL files usage in ASP.net website.
I have a windows application where I use DLL files provided by the manufacturer to Communicate with Smart Card Devices using TCP/IP(LAN).
I use functions in DLL for various operations on Smart Card Devices.
Now I want to convert my windows Application to Web Application.
So I want to know will the DLL files are to be used the same way as I do in Windows App.
I have tried doing this. I put all my DLL files in Bin folder of my site.
Now When I open the browser and execute the code, it works fine from My PC.
But when I open it in another PC, it does not work.
So I want to know is it that the DLL files are already registeres on my PC so it works from here, but on other PC they are not registered so it doesn't.
Do I need to Install/regsiter DLL files on other PC also. If Yes How to do that.
How Can I check for DLL files and Prompt the User to download the installation for registering DLL files.
Just like any active-X control is missing, the browser Shows message on top.
Please help, I am in extreme need on any help. Actually I am new in working on Web Development.
Thanks in Advance.
|
|
|
|
|
So you are going to read Smart Card of Client System using ASP.NET Application ? Its not possible in normal way.
Its working in your system becuase the application runs locally, when you will host and access from client system it will read only server information rather than Client Info.
You can use ActiveX control to resolve this issue. But it will work only on IE.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hello, Abhijeet.
Thanks for the reply.
Actually the Smart Card Device is not COnnected to any Client PC.
The Web App will work in Intranet environment and The Device will be Connected in LAN.
And I would Communicate using Device IP Address.
So Whether I run from My PC or another PC it is the same, I think.
|
|
|
|
|
Hey, First of all, I should clear you that Web and Windows are something different.
In case of windows, the dlls are read using Reflection or COM based approaches.
In case of Web, browser only identifies what mentioned in w3 standards. These are basically XML, Javascript, CSS etc.
If you want your web application to read your custom dll interface, you need to create your own custom activeX/browser plugin which the user is forced to install in the client computer and then use the interface...
Basically if you are forcing the client to install browser plugins, you might somehow loose lots of your clients, because most of the people dont want plugins getting installed. Also this means you need to make a setup and which checks the browser and installs the plugin accordingly. This is not easy to do.
Even if you write XBAP applications, it has security issues to read external device data from it.
Also I think you mentioned you will be using the software in LAN. So why not you access the device from the server side. You can access any device from the server side easily and send the data back to the client. Use almost the same code that you use in windows in the server side to get data.
|
|
|
|
|
Hello, Abhishek.
Thanks for your reply.
I have a query, What do you mean by saying Server-Side. Can you elaborate a bit.
See, the Web App is currently running on my PC in IIS6.0 and WinXP.
And regd. LAN issue, I am using this web App in LAN only.
So whether I use on my PC or any other PC, Both PC's and Device are in LAN.
|
|
|
|