add

CreateUserWizard Roles

OK, so I am having trouble with adding roles with the CreateUserWizard. <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" Font-Size="Medium" ContinueDestinationPageUrl="Default.aspx" LoginCreatedUser="False" DisableCreateUser="False" CompleteSucc...

How to add a field programatically to a TAdoTable in Delphi

In my Delphi 2009 application I need to check if a field exists and if it doesn't add it during application execution. I have figured out the test for the field, but cannot get a field to add. I tried this var fld : TStringField; begin if not ADOConnection1.Connected then ADOConnection1.Open; fld := TStringField.Create(tbl...

How to add new div tag when check box is checked using jquery

how to add new div tag next to check box when check box is checked and also when two check box is checked the two div tag must to be display. please help and make me to solve this module using jquery ...

Mysql NDB Cluster add another data node after setup

Hi All, I have a NDB Cluster set up with two data nodes, i want to add third data node in this, What steps i need to follow. For ex:- I have to install mysql server on that third server and change the config file add the third server ip. Please correct me if i am wrong Thanks in advance ...

No Magento Header & Custom Navigation

I can't seem to figure out how to disable the header as a whole. I have installed the blank theme, and have been playing in the page XML, but to no avail. I also cannot seem to switch from 2columns-right to 2columns-left, even though i've run searches for every damn file that includes the phrase and swapped it. I'm wondering if it's just...

Automating the adding of a website profile via google APIs

I was poking around Google's analytics API docs to see if there is a method that allows the adding of website profiles. Either by using a email/password or session or one time token. Has anyone seen anything? ...

Solr conditional adds/updates?

I have a fairly simple need to do a conditional update in Solr, which is easily accomplished in MySQL. For example, I have 100 documents with a unique field called <id> I am POSTing 10 documents, some of which may be duplicate <id>s, in which case Solr would update the existing records with the same <id>s I have a field called <dateCr...

Add/remove blog post to "My favorites" page

Hi everyone. I am not familiar with js and jQuery, but need to create function to add/remove blog post to "My favorites" page and update counter of saved posts. Is any ready solution - plugin or snippet - to it? There is my html snippet. <h1><a href="http://www.example.com/add-post-to-my-favorites-page.htm" id="post_0064"><span class...

Multiple "git add" before "git commit"...

Here is my experiments. git init echo hello > some.txt git add some.txt -- objects -- f2 (blob "hello") echo hola > some.txt git add some.txt -- objects -- f2 (blob "hello") -- 53 (blob "hola") git commit -m "..." -- objects -- f2 (blob "hello") -- 53 (blob "hola") -- 5c (tree "some.txt" -> 53) ...

c# sharpziplib adding file to existing archive

Hi, am trying to add a file to an existing archive using the following code. When run no errors or exceptions are shown but no files are added to the archive either. Any ideas why? using (FileStream fileStream = File.Open(archivePath, FileMode.Open, FileAccess.ReadWrite)) using (ZipOutputStream zipToWrite = new ZipOutput...

Django : save a new value in a ManyToManyField

Hi, I gave details on my code : I don't know why my table is empty (it seems that it was empty out after calling save_model, but I'm not sure). class PostAdmin(admin.ModelAdmin): def save_model(self, request, post, form, change): post.save() # Authors must be saved after saving post print form.cleaned_data[...

Problem in adding a class element to an element.

I'm trying to remove a class attribute from an element and add the class to another element. I successfully removed the class but having problem in appending the class to the other element. When I click the link 'View All', <a class="code_link" id="viewAllMyForms" href="#" >View All</a> This function is called.I want to remove the c...

jquery adding to the last tr of the first table

Hello, I have a table structure like the one shown below: <table id="result"> <tr> <td id="groupx"> <table> <tr> <td>Data</td> </tr> </td> </tr> </table> I want to add a TD to the last tr of table result. Trying x.appendTo($("#result tr:last")); isn't working since it's adding to the last tr of a table id "group" Any suge...

To Append a column in a jtable modifying its width

Hello there, I'm trying to add a column to a jtable. I've tried this code: DefaultTableModel model = (DefaultTableModel) table.getModel(); model.addColumn("new column"); but the width of the table doesn't change, but the columns width. In other words, the width of the columns reduces so the new column "fits in" the table, but what I wa...

JQGrid in MVC app Add form error on submit click

Hi - I am trying to use the JQGrid plugin and have run into an issue I can't seem to get around. First I'm using the latest version on the grid (3.5.3) in an ASP.NET MVC app. Almost everything is working great - loads my data, edit form fires the correct Controller method. My issue is with the Add record Form. The form displays fine but ...

How to set checkbox on JQGrid Add Form to checked.

I'm using the Add Form to add records to my JQGrid. One of the fields is a checkbox. Does anyone know how to have the checkbox to be defaulted to checked when the form displays. I thought it would use the onInitializeForm event and the setCell method but I'm having no luck. Thanks. ...

jquery: Trying to make image into hyperlink

I'm nearly where I want to be, except that I can't figure out how to turn var imgt into a hyperlinked image. I've tried some things, but it keeps returning [object][Object] $j('#hp-featured-item > div[id^="post-"]').each(function() { var id=this.id.match(/post-(\d+)/); var imgt = $j("img:eq(0)"); // I tried this but ...

jQuery add option to select

When I attempt to add an option to a select the option I'm trying to append ends up appended to the first option instead of the select itself. $(".ct [value='']").each(function() { $(this).append($("<option></option>").attr("value", "Reset").text("Reset")); }); Help? ...

SSIS: How to read flatfile and add a new row to the file.

Hi! I have a text file and needs to read it and change some text and add some new text in a new row. How do I add e new row with some text in it? I now use a script component to read existing rows and change in them but I can't add a new row :-( Thanks in advance Regards Brno ...

ASP ADO Connection

i want to make connection of ASP to a database and display the records, add update and delete them all in one coding. Waiting for your kind response. ...