AJAX :: How To Change Message Icon Using Scriptmanager
Aug 26, 2010I'm trying to change message icon running using ScriptManager - RegisterStartupScriptIs anyone know how to change icon using ScriptManager ?
View 6 RepliesI'm trying to change message icon running using ScriptManager - RegisterStartupScriptIs anyone know how to change icon using ScriptManager ?
View 6 RepliesUsing ASP.Net/VB.Net 2005.
I have an accordian inside a nested gridview that is controlled by an imagebutton. The Imagebutton is a plus sign "+" and the expand/collapse functionality is working great.
What I need to do is when the user expands the accordian is to change the plus ("+") sign to a minus ("-") image. I am trying to do this with javascript but its not working.
I have a user control with both an UpdatePanel and a ScriptManager.
Some pages in the system have a ScriptManager of their own, and need to include the UserControl.
This throws the "You can only have 1 ScriptManager" exception.
If I remove UserControl's ScriptManager, I'll get 'UpdatePanel1 requires a Script Manager" exception.
I've tried to modify the UserControl to dynamically include it's own script manager if none exists. But all the methods I've used before involve adding a delegate to Page.OnInit-- which won't work, since the UserControl Init fires first.
Because the system designers here like making my life difficult, I can't create a MasterPage, or a BasePage for the system in inherit off of. I'd be stuck going to each page an adding a ScriptManager before the UserControl on each of them. Is there any way of, in the UserControl, detecting if the page has a ScriptManager, and if not, adding it dynamically in a way that makes the UpdatePanel happy?
I am using asp.net 3.5 and C#.I want to change my mouse cursor similar to this site[URL]
View 3 RepliesI am using this ccode right now..
<%using (Html.BeginForm("SaveNewServiceTypeCategory","ServiceTypeCategory")){ %>
<table>
<tr>
<td>Service type category:</td>[code].....
I have a popup which displays two drop down lists, name it : ddl1 and ddl2 and for both of these i have mandatory validation, so if any of these is not provided, callout message will come on submit click.
ddl2 will get populated once any value from ddl1 is selected(selected change event).
Now problem is, suppose without entering any value, i click submit, it is showing select value for ddl1, and when i select a value, the selected change event for ddl1 is not firing, and so ddl2 is not getting loaded.
Selected change event for ddl1 is firing in normal condition, if the callout message is not there.
but after the callout message, if i try to select a value, the event is not firing.
I have a gridview with 7 columns. I have linkbuttons in almost all the columns. This gridview is in a updatePanel and updateprogress control is there on the page. When I click on the first column(linkbutton) it should show message in updateprogres template and for all other click, it should not show that message......like udpateprogress should not be visisble. I tried cetting
Updateprogress.visible = false in rowcommandevent of gridview but it is not working.
I have a button that uses a ui framework icon on a content page as shown below. I would like it to change state if hover so that the user will know it's clickable. I see there is a.ui-state-hoverclass. How do I apply this to the button?
[Code]....
Is there a way to change the colors (or perhaps add an overlay) to the files in Solution Explorer?It would be great to be able to 'tag' the files with different colors so that you can see for example what status the different files have.
View 2 RepliesI have a webpage that I'd like to display a different shortcut icon depending on whatever the status is of the app. I have the page pin'd in Firefox so I can always see the icon. How to accomplish this?
View 7 Repliesi am develpping a alarm application when user minimized this it should be minimized appear near the system clock,local area connection icon(as hidden icon).
View 3 Repliesi assigning an imagebutton to an image url in css causes my image to still show, but also the icon for an image if there isn't an image. If I declare it in the html instead, it shows fine, only when I try to use CSS for the referene to the image url.I use the following syntax for the image in css
background-image: url(image1.jpg);
Again, it is finding and showing the image, but it is also showing the windows image icon.
I see your article "Google maps v3 with multiple marker". I want to change the icon on that code. I want to use my custom icon instead of google red icon. I have tried using below code. but it's not working?
icon: { image: 'http://yava.ro/wp-content/plugins/responsive-maps-plugin/includes/icons/green.png',
iconsize: [50, 50], iconanchor: null, shadow: 'http://yava.ro/wp-content/plugins/responsive-maps-plugin/includes/icons/shadow.png', shadowsize: [50, 50], shadowanchor: null}
Code reference : [URL] ....
Also code does not work with HTML5 "".
I have to insert different characters in each marker.How can I? like the below link I want to insert in this below link they display markers with letters. for example they used 'blue' color for 'L' yellow for 'k' like that I want to write code give me syntax for writing like that.URL...
View 1 RepliesBy default in login template, in case user key in the wrong user name or password, the literal message will show the default error message, "Your login attempt unsuccessful..."What i trying to do is, I have a function in my system to disapprove a member, after the member is disapproved, he/she will not allow to login anymore. When the user trying to login, the default literal msg will show out. Is there any way i can do it more specifically like if the user enter the wrong password only, the literal msg show: "Wrong password entered" insteaed of the default msg?
Same goes to the change password control, for any error msg it just show the long msg but does not tell user whats wrong with the entered valueim trying to do something like if the user enter the wrong password, the literal msg show the one i wan to show.
I am using the following syntax for my loading icon
[Code]....
however once the page loads fully, I have a missing icon image showing up and I dont know why....how do get rid of it
I am able to update two panels from one button click, Added updateprogress on both panels and on button click it shows the "Loading" icon. But how if I want to icon to show up if user clicks another button which is not part of updatepanel?
I am attaching the code.. in the code I have a button "Show CD Info". When user clicks this button, I load a GridView on the left (Grid Panel) and a simple labels on the right (View Panel) that shows the first record. During the load, user see the Loading icon.
Also, user can click "Refresh Grid" button to refresh ONLY the grid. "Clear" button to clear the labels on the View panel on the right. To accomplish this I have added triggers on Grid Panel
[Code]....
and on View Panel
[Code]....
This code ajaxify my requirement but how to show the progress icon when I click Refresh or Clear buttons?
Here is the code (.aspx):
[Code]....
and (code behind .c#)
[Code]....
let me know how to activate the same progress icon from two buttons?
i use the code for my cascade dropdown list.my JResult function in cotroller doing some complex job.. ( i already fine tune it).based on that function my second dropdown list and some other controls values sets...now i want to show "busy icon" operation while this controller works in background
View 1 RepliesI have a user control that needs a javascript function so I put my JS code in a variable and used the ScriptManager.RegisterStartupScript in Page_PreRender of the control as follows
StringBuilder jscode = new StringBuilder();
jscode.Append(@"<script language=javascript>");
jscode.AppendLine(@"function MyFunc(x) { {alert('hi'); }");
jscode.AppendLine(@"</script>");
[code]...
I have the following list of projects WebUI (WebSite) , DataAccess (ClassLibrary) , LogicLayer(ClassLibrary). Those of the project are purposively crated separately.But my scenario is, need to create only one solution file, then add all of the above projects under this solution file. So that i can be easiy interacted and changes can be made by opening solution file only instead of opening each project individually.
Simply all of the layer projects are under one roof means one solution. I tried it by adding solution first, then i added already existed project into this. But once after added already existing project the solution icon vanished by showing the icon of recently added project. By this way I could not add another project into this section too.Hope this is the way the basic real-time projects are created; to achieve the centralized control over architecture based projects.
I need to that is this possible to add more than one scriptmanager tag in page. If i add, What error msg will come?
View 3 RepliesI have a form which I am using the RoundedCornersExtender, If I am using the ScriptManager control I am getting the following error-Error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.I googled it and found that one way to overcome this is to use the ToolkitScripyManager, I replaced the ScriptManager with the ToolkitScriptManager and I dont get the above error anymore. On this same form I am using an UpdatePanel control but from some reason I am not getting a partial render but always a full page render.
View 2 RepliesCurrently using Framework3.5 Ajax Dll-3.5 Pages included -MasterPage and 6-Default Page's myquery i m currently using Different Designing Interace for all the Default Page's means some of page's includes update panel and some not sly some page's include ajax toolkit tool's like -CascadingDropDown,UpdatePanel and Masked Edit Control do i need to
add scriptmanager in all the page's involving MasterPage?
add ScriptManager or ToolScriptManager in Master Page ?
add toolscriptmanager in masterpage and rest of page's using ajax controls and update panel
I'm having a serious problem with my ASP.NET AJAX application.There is an javascript function in my application needs to be executed after the Timer_Tick event. Here's the code behind:
[Code]....
When I call the javascript function 'UpdateValue' for the first time(at onload page event), it works correctly. But after the Timer_Tick event, it does nothing. This is the HTML code:
[Code]....
What's the problem with the ScriptManager or the Timer_Tick event?
I am trying to update a listbox on the server from javascript using Ajax PageMethods. How would I reference the listbox control inside the Shared Sub, I get Error 156 Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. The reason I want to do it this way is because when I updated it on the client the code-behind did not have the updated count.
[Code]....