Mobiles :: PocketPC - OnDockingEvent / Automatically Do Stuff When The User Dock The Equipment?
Apr 29, 2010is there such a thing as OnDockingEvent?I need to automatically do stuff when the user dock the equipment.
View 1 Repliesis there such a thing as OnDockingEvent?I need to automatically do stuff when the user dock the equipment.
View 1 RepliesI have 2 Windows 7 (IIS 7) machines : Machine1 and Machine2.
I have deployed an ASP.NET 2.0 Web Service on Machine1 : e.g. http://Machine1/WebService/Service.asmx
From Machine2, I can access http://Machine1/WebService/Service.asmx.
On Machine2, from 'Device Emulator Manager' and 'Windows Mobile Device Center' I am connected to PocketPC 2003 emulator.
'WS Mobile Device Center' connection settings : DMS and Work Network.
From PocketPC - Internet Explorer, when I tried to invoke http://Machine1/WebService/Service.asmx, I am getting an error:
Error : Server Error in '/' Application. The resource cannot be found. ........
What could be the problem ? I can access the same service from desktop and not from PocketPC emulator.
Has anyone seen any solid libraries for working with active directory (mainly user related stuff) in C# and asp.net. Am I better off intergrating with asp membership or building something customised.
I took a look at LINQtoAD but it doesnt seem to be active anymore.
I have a user control that displays some database records when I first hit the page. When I click the submit button the page load event fires again, loading the user control again. Then the button click event fires inserting a new row in the database which is not shown on the page because the user control already did its stuff. If I could get the user control to do its stuff after the button click event I could then see the newly inserted row. I can do this by pulling the code out of the button click event and sticking it in the page load event. However, I think that would be bad code flow. How can I get the user control to do its stuff after the button click event has fired?
View 7 RepliesI want to open the songfile automatically with blackberry native music player ,upon clicking that link. I have searched almost all web , but i was not able to find a solution, how we can download and open a file with native medal player browser. All the code samples i got was in java. Is there any code for doing that in asp.net ? Any alternative in html? The <object> & <embedd> tags are not displaying in the browser when i run the project. So, i think it won't work ? Is there any possible solution for that.... Suppose the content type="audio/mp3" . can any one specify code for that ?
When normal downloading, again Request Entity Too Large Error appears. It's not bcoz the file is large, Itz only 344 kb. Still its not working.Why is it so?
I use an asp.menu control inside a div and my asp.net menu control floats inside the div but i want it to dock to the top incase i use an unordered list in place of asp menu the unordered list is docked to the top can any one help me solve this:
<div class="clear hideSkiplink" style="background-color:Fuchsia;">
<asp:Menu ID="Menu1" CssClass="menu" runat="server" EnableViewState="false" [code]...
I created timecard for a website and I would like to automatically clock out the user everytime when user logout or close the website. Is there a control for that? And if yes, where do i have to put he code at?? I think it should be in the code behind of master page... and on the Page_Load function
View 1 RepliesI facing a problem here. how can I make the create user wizard category all the new user become normal user role? I have created 2 role which is Manager and Normal User. Normal User can't view the Manager page. But after i create a new user account, i can view manager and normal user page. I want to make all the new member registration will be normal user role?
View 6 Repliesi develope asp.net web site based on users authentication.
How can i promiss that user who logins to the site and closes and explorer, could reopen it and be connected without insert his user & password again.
URL.... Still there will be need of url in ajax method if i put javascript in site.master.cs . As what i have understood from that mysite.master.cs will be like this :
protected void Page_Load(object sender, EventArgs e) {
try {
if (Session["Prefix"].ToString().Trim() == "sys_admin") {
UserNameMasterLabel.Text = Session["UserName"].ToString().Trim() + " (ADMIN)";
[code]....
And site.master will be like this :
And I have to put next method in DailyLog.aspx page ? like this
System.Web.Services.WebMethod(EnableSession = true)]
public static int RefreshSession() {
HttpContext.Current.Session["Name"] = "BSD";
Configuration config = WebConfigurationManager.OpenWebConfiguration("~/Web.Config");
SessionStateSection section = (SessionStateSection)config.GetSection("system.web/sessionState");
int timeout = (int)section.Timeout.TotalMinutes * 1000 * 60;
return timeout;
}
But I have several pages in my website , by doing the above story will it work for Builder.aspx ? or any other page rather than dailylog.aspx ?
I've made a membership by create user wizard. everything is good but after click on finish register button, when page redirect to index .aspx, this page thinks tht user logged in. whereas user didnt login just added to DB.here is the code:
protected void CreateUserWizard1_NextButtonClick(object sender, WizardNavigationEventArgs args)
{
try
{
Membership.CreateUser(CreateUserWizard1.UserName, CreateUserWizard1.Password, CreateUserWizard1.Email);
Response.Redirect("index.aspx");
[code]...
in index.aspx just have a login name and login status control. tht's it.
How to automatically log out after 15 mins by using asp.net vb.net ....
View 1 RepliesI'm using an image field in the EditTemplate of FormView to allow my users to upload an image. It works fine in all major browsers, including Safari. But not on the iPad. There I get the error message "object reference not set to an instance of an object" when the EditTemplate is submitted.
I'm guessing it's because, on the iPad, the FileUpload button in my EditTemplate is "greyed out" (which is a problem in and of itself)...I suppose there's no built-in way for an iPad user (using the iPad version of Safari) to search for an image on the iPad hard drive to upload (without a special App, I'm guessing)....So, when the EditTemplate form is submitting on an iPad, I get the above error message---I think because the Fileupload field is Null (I have this theory, because the stack trace references my "ValidateImage" method in my code behind.)Anybody have any direction or answers I should try? Is there an obvious answer here, or should I post my EditTemplate mark-up and code behind?
i see a lot of web site that.. remember when i return without using registration. I think they save cookies or something...So i'm asking you: in asp.net / vb.net how can i save the id of a user ? What are the command to do this ?
View 3 RepliesSay that, there is a login.aspx page for any application. I would like to see this login page in different format if user visit by Iphone or any other mobile device. I have already designed two different page for test purposes. If i visit the page which is modified for Iphone, everything works fine.
what is the best way to switch between these two page depends on by which device user visit? These two pages could be even totally different two pages like black and white because of page layout issues.
How can I develop Client-User and Web applications for BalckBerry using Visual Studio 2008.
View 1 Repliesi am doing one chat application in that chat application i have one private chat now i want if i click one user logo that pop chat window automatically fired in that user window how do i that
View 1 Replieswill u plz tell me how to deactivate a preticular user after his subsctiption period is end
View 6 RepliesIf the logged in user either exits out of a directory OR closes the browser......I want to automatically log them out. IS this possible and where is it done? What code can be used for these actions?
View 3 RepliesI have a user control that has multiple instances on a single page.
Is it possible to have each instance use a unique ValidationGroup? I could expose a property, but I'm wondering if there's any way to do it automatically.
<asp:HyperLink
ID="hyper1"
runat="server"
NavigateUrl='<%#string.Format("~/PLayer.aspx?ID={0}&Type={1}",Eval("arrange_by_id"),Eval("value"))%>'><%# Eval("value")%></asp:HyperLink>
I've implemented this string format in my NavigateUrl to pass a dynamic querystring depending on the clicked item!
but you see the first part in the string format where it says "~/PLayer.aspx" i want the user control to automatically change this part according to where it's placed!
I am newbie, help. Please. I created a web app with two roles; one is for the regular members and one for the administrator. Now i need to know, please, how I can set up my web app to assign
automatically the "members" role to regular users. I am open to suggestion; maybe this is can be done in other way.
I am building a social networking site for employees and where an employee can sign up and create a profile and enter job employment history, interests etc. into text boxs and a aspx. page will be created showing all their details. Then in a data grid a preview of their profile would be shown allowing a user to click on that field which would direct them to that persons profile.
I am finding it hard to find information on how to automatically create a profile for each user that signs up.
Is there a way to stuff my ViewModel into an Ajax.ActionLink? edit I'd like to take my 5 search fields on my page which are bind to a view model and send it along my .ActionLink as my object value parameter.
View 2 RepliesSimilar region in C#, is there stuff available for MS SQL?
View 1 Replies