I need to know how to open a color picker from a button and then update a css class within a css file using vb.net.
Can anyone help with this?
View Complete Post
Here is the page directive for the page that throws the error:<%@ Page language="c#" Inherits="University.AspNet.Index" CodeFile="Index.aspx.cs" %>The code behind file Index.aspx.cs starts like this:
I have a requirement to import the profile properties from a text file in sFTP to update the MOSS Profile Database. The objective is to create a single repository for the Staff Directory in MOSS.
Can I use BDC to connect and update the Profile database?
What is the alternate approach?
I'm programatically looking ito a .aspx file and getting the file class name declared in its CodeBehind. For example, when analyzing myFile.aspx I read in its Page Directive and found its CodeBehind equals "myApplication\myPage.aspx.vb". Then I use the code below:
Dim Assm As System.Reflection.Assembly = System.Reflection.Assembly.LoadFrom("myApplication\bin\myApplication.dll")
Dim ClassType As Type = Assm.GetType("myApplication\myPage.aspx.vb")
' myBaseType = "myApplication.Forms.BasePage"
Dim myBaseType As System.Type = ClassType.BaseType
Now I want to read the BaseFile (class = myApplication.Forms.BasePage). However, to read in this file, I need I need to get its full path instead of its namespace.class hiearchy. In this case, the BasePage is wrapped in a different namespace declaration thus I cannot just change the '.' to '\' in order to get the path.
How can I get the path of BasePage so I can read it? Thank you - Frank
I created Elements.xml file that added button to Ribbon of Web Part page.
Thank you in advance for any help.
I'm working on the big project who has edmx file with lots of table. I want to update a table from DB. But when I update the edmx file, it also refresh the other tables from DB. How do I update single table?
I am having a problem of updating the main form button backcolor property from another class. I have attahced the code. Please tell how can i rectify this problem.
PopUp is another class, in which i want that when ToolStripDropDown closes it change the form button BackColor from Orange to WhiteSmoke.
public partial class PopUp : ToolStripDropDown
protected override void OnClosed(ToolStripDropDownClosedEventArgs e)
Form1 f1 = new Form1();
// f1._pushed = false;
f1.Controls["button1"].BackColor = Color.WhiteSmoke;
It seems that this line works, i checked it using MessageBox it changes the backcolor property but it does not updated to the form displayed on the screen.
Can anyone help me