15,881,559 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11227881 (Top 26 by date)
Member 11227881
22-Sep-15 14:54pm
View
public static void FocusControlOnPageLoad(string ClientID,
System.Web.UI.Page page)
{
page.RegisterClientScriptBlock("CtrlFocus",
@"<script>
function GetDivPosition()
{
document.getElementById('GVWF').scrollTop = window.name;
//--alert(numericPostion) FOR TESTING ONLY!!!
}
function ScrollIntoView()
{
var gridView = document.getElementById('ctl00_ContentPlaceHolder1_gvRptItems_BranchChief_With_Focus');
gridView.scrollIntoView((window.name * (window.innerHeight)));
}
function RunScripts()
{
ScrollIntoView();
GetDivPosition();
}
window.onload = RunScripts;
</script>");
}
Member 11227881
20-Mar-15 10:35am
View
Revise Question:
I am looking for something that can analyze the software to show all the Code Branching. I saw demo some year ago where the desktop application was analyze and you could see all the code associate. It use a tree view structure and it isolated the code and you would click on it and it would branch to that code. To actual see the code you would click on the node and drill down into the code.
Member 11227881
20-Mar-15 10:34am
View
Revise Question:
I am looking for something that can analyze the software to show all the Code Branching. I saw demo some year ago where the desktop application was analyze and you could see all the code associate. It use a tree view structure and it isolated the code and you would click on it and it would branch to that code. To actual see the code you would click on the node and drill down into the code.
Member 11227881
20-Mar-15 10:34am
View
Revise Question:
I am looking for something that can analyze the software to show all the Code Branching. I saw demo some year ago where the desktop application was analyze and you could see all the code associate. It use a tree view structure and it isolated the code and you would click on it and it would branch to that code. To actual see the code you would click on the node and drill down into the code.
Member 11227881
2-Mar-15 10:08am
View
The suggestion of asking the user to enter the group name like "ABC\TI0022" sound good. But, do you think that maybe more than what a user would like to do. They already have to remember so many passwords. How can I make this seamless for the user?
Member 11227881
23-Feb-15 10:59am
View
I am able to find the multiple groups using the System.DirectoryServices. I simple want to know the one group he belong to when he login. Why is it that I can not know the exact group from where he login. I just need the one group he belong to at the time or after login. I am able to get userid by using the Request.ServerVariable. There should be somethings that let me know the unique group at the time of login.
Member 11227881
20-Jan-15 14:00pm
View
The dropdown that are giving the error could I see them in the Designer of the code. Again, I think the error are coming from the dropdown. In the designer code I see protected global::System.Web.UI.WebControls.DropDownList ddlList; should it be something different because it is within the Update and Panel control.
Member 11227881
20-Jan-15 10:20am
View
When I change the scriptmanager from <asp:ToolkitScriptManager ID="tsm" runat="server"> to the <asp:ScriptManager ID="ScriptManager1" runat="server">
I get the below error with the modalpopup.
Error: Unable to get value of the property 'UI': object is null or undefined
Member 11227881
20-Jan-15 9:32am
View
Correction to the earlier statement. I see my code only work with the
<asp:ToolkitScriptManager ID="tsm" runat="server">
Does this mean that I need to rewrite the code from scratch using the from the 4.0
<asp:ScriptManager ID="ScriptManager1" runat="server">
Member 11227881
20-Jan-15 9:00am
View
First of all thanks for responsing to my question. I want to give you more detail of the problem. The code that is working was build in a different project. I am using the AjaxControlToolkit.Binary.Net40. I followed all four step that you have suggested. The different is with step 3. In step 3. I am using the ScriptManager below:
<asp:ToolkitScriptManager ID="tsm" runat="server">
I also tested the code with the
<asp:ScriptManager ID="ScriptManager1" runat="server">
The block of code still works with the script manager that you suggested.
Here is when the problem starts:
When I move this code to another project which has a Masterpage with the scriptManager within the project the dropdown stop working. The drop down populate properly. When you look at the code in the watch you see the code is pointing at
asp:ListItem Text = "--Select--" Value="--Select--">
What every you select on the dropdown you still see the above selection. The project is using the AJAX Toolkit40
Member 11227881
14-Jan-15 18:11pm
View
I have the grid in the updatepanel. When I select the row the popup panel show with the correct select in the text. I do not see the correct value in the Watch window. The DropDownList show me the value of "None in the SelectedValue and {Select Day}in the SelectedItem. The actual Value of the SelectedValue should be "1" and the SelectedItem should be {Monday}. I can select any item in the list and I get the same thing of "None" in the SelectValue and {Select Day} in the SelectedItem. The None and Select Day or the first items in the list.
Member 11227881
14-Jan-15 17:36pm
View
It was working outside of the masterpage. When I place updatepanel with the panel that has the dropdown into the master page it stop working. I can see the text selection. But, when I do a watch I see default value of zero and the text of { Make Select }
Member 11227881
14-Jan-15 17:31pm
View
It is not on the masterpage?
Member 11227881
14-Jan-15 17:30pm
View
I am trying to reference it from the panel within a updatepanel.
Member 11227881
13-Jan-15 16:08pm
View
I am using the following in the application that is working.
<%-- <asp:ToolkitScriptManager ID="tsm" runat="server">
--%>
The one with the masterpage that is not working is using the following
<asp:ScriptManager ID="ScriptManagerRAMS" runat="server" ScriptMode="Release" >
I tried using the one below and get a error message Parser Error Message: Unknown server tag 'asp:ToolkitScriptManager'.
<%-- <asp:ToolkitScriptManager ID="tsm" runat="server">
Member 11227881
13-Jan-15 10:58am
View
The problem started when I added the code to a existing master page which has the following scriptmanager.
<asp:ScriptManager
ID="ScriptManagerRAMS"
runat="server"
ScriptMode="Release" >
Here are the steps
1. The modual popup is launch from the Grid linkEdit. The module popup is within a panel. The Grid is outside of the panel within the Update Panel that surrounds everything.
Step 2. I load the dropdown list within the Preload with a
if (!IsPostBack)
{
The dropdown are load here.
}
3. When the modal popup is visible the dropdown has the correct value. But when you set a watch you see the default value of {Please Select}. Then I attempt to select a different value and you see {Please Select}. You see the same thing within the OnSelectedIndexChanged.
I am using the following in the application that is working.
<%-- <asp:ToolkitScriptManager ID="tsm" runat="server">
--%>
The one with the masterpage that is not working is using the following
<asp:ScriptManager ID="ScriptManagerRAMS" runat="server" ScriptMode="Release" >
I tried using the one below and get a error message Parser Error Message: Unknown server tag 'asp:ToolkitScriptManager'.
<%-- <asp:ToolkitScriptManager ID="tsm" runat="server">
Member 11227881
13-Jan-15 10:58am
View
The problem started when I added the code to a existing master page which has the following scriptmanager.
<asp:ScriptManager
ID="ScriptManagerRAMS"
runat="server"
ScriptMode="Release" >
Here are the steps
1. The modual popup is launch from the Grid linkEdit. The module popup is within a panel. The Grid is outside of the panel within the Update Panel that surrounds everything.
Step 2. I load the dropdown list within the Preload with a
if (!IsPostBack)
{
The dropdown are load here.
}
3. When the modal popup is visible the dropdown has the correct value. But when you set a watch you see the default value of {Please Select}. Then I attempt to select a different value and you see {Please Select}. You see the same thing within the OnSelectedIndexChanged.
I am using the following in the application that is working.
<%-- <asp:ToolkitScriptManager ID="tsm" runat="server">
--%>
The one with the masterpage that is not working is using the following
<asp:ScriptManager ID="ScriptManagerRAMS" runat="server" ScriptMode="Release" >
I tried using the one below and get a error message Parser Error Message: Unknown server tag 'asp:ToolkitScriptManager'.
<%-- <asp:ToolkitScriptManager ID="tsm" runat="server">
--%>
Member 11227881
13-Jan-15 10:43am
View
I have this code within a MasterPage. There is Update panel around the everything. Within there is simply a panel around the dropdown links. I can see the label content but the only content that I see on the dropdown is the default selection. But, what is displayed is correct. When I try to may a change to the selection. I still get the default setting. I have attempted what you said. Again within the updated panel you have a grid that has a link that calls the popup and the popup in within simple a panel. This work before it was added to the masterpage.
Member 11227881
13-Jan-15 10:43am
View
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <contenttemplate> <asp:Panel ID="Panel1" runat="server"> <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>Red <asp:ListItem>Green <asp:ListItem>Blue <Triggers> <asp:AsyncPostBackTrigger ControlID="DropDownList1" EventName="SelectedIndexChanged" /> </Triggers>
Member 11227881
13-Jan-15 10:43am
View
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <contenttemplate> <asp:Panel ID="Panel1" runat="server"> <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>Red <asp:ListItem>Green <asp:ListItem>Blue <Triggers> <asp:AsyncPostBackTrigger ControlID="DropDownList1" EventName="SelectedIndexChanged" /> </Triggers>
Member 11227881
13-Jan-15 9:42am
View
I have this code within a MasterPage. There is Update panel around the everything. Within there is simply a panel around the dropdown links. I can see the label content but the only content that I see on the dropdown is the default selection. But, what is displayed is correct. When I try to may a change to the selection. I still get the default setting. I have attempted what you said. Again within the updated panel you have a grid that has a link that calls the popup and the popup in within simple a panel. This work before it was added to the masterpage.
Member 11227881
5-Dec-14 16:01pm
View
I did not write the code that is in question.
Member 11227881
5-Dec-14 11:54am
View
How do identify this code problem? I put a break and it fail at the first statement
Member 11227881
5-Dec-14 9:34am
View
How do I determine which assembly is missing? Do I add the assembly to web configure?
Member 11227881
4-Dec-14 16:41pm
View
The type or namespace name ‘xxxxxx’ could not be found (are you missing a using directive or an assembly reference
Member 11227881
4-Dec-14 16:41pm
View
Here is the full error:
The type or namespace name ‘xxxxxx’ could not be found (are you missing a using directive or an assembly reference
Show More